acpi_cmbat.c (8d181eb589fe9795f3df2ff8e2f45b6ef085a7f7) | acpi_cmbat.c (64278df5e02bfd3061b58440a695339ec48c2785) |
---|---|
1/*- 2 * Copyright (c) 2000 Munehiro Matsuda 3 * Copyright (c) 2000 Takanori Watanabe 4 * Copyright (c) 2000 Mitsuru IWASAKI <iwasaki@FreeBSD.org> 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 96 unchanged lines hidden (view full) --- 105static driver_t acpi_cmbat_driver = { 106 "acpi_cmbat", 107 acpi_cmbat_methods, 108 sizeof(struct acpi_cmbat_softc), 109}; 110 111static devclass_t acpi_cmbat_devclass; 112DRIVER_MODULE(acpi_cmbat, acpi, acpi_cmbat_driver, acpi_cmbat_devclass, 0, 0); | 1/*- 2 * Copyright (c) 2000 Munehiro Matsuda 3 * Copyright (c) 2000 Takanori Watanabe 4 * Copyright (c) 2000 Mitsuru IWASAKI <iwasaki@FreeBSD.org> 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 96 unchanged lines hidden (view full) --- 105static driver_t acpi_cmbat_driver = { 106 "acpi_cmbat", 107 acpi_cmbat_methods, 108 sizeof(struct acpi_cmbat_softc), 109}; 110 111static devclass_t acpi_cmbat_devclass; 112DRIVER_MODULE(acpi_cmbat, acpi, acpi_cmbat_driver, acpi_cmbat_devclass, 0, 0); |
113MODULE_DEPEND(acpi_cmbat, acpi, 1, 1, 1); |
|
113 114static int 115acpi_cmbat_info_expired(struct timespec *lastupdated) 116{ 117 struct timespec curtime; 118 119 if (lastupdated == NULL) 120 return (1); --- 541 unchanged lines hidden --- | 114 115static int 116acpi_cmbat_info_expired(struct timespec *lastupdated) 117{ 118 struct timespec curtime; 119 120 if (lastupdated == NULL) 121 return (1); --- 541 unchanged lines hidden --- |