acpi_lid.c (6971b3c7d12b77bbcb2662221234b370fc6cf46b) | acpi_lid.c (3273b0052350a01f85ee60a6a2e31adb31d4a5a6) |
---|---|
1/*- 2 * Copyright (c) 2000 Takanori Watanabe <takawata@jp.freebsd.org> 3 * Copyright (c) 2000 Mitsuru IWASAKI <iwasaki@jp.freebsd.org> 4 * Copyright (c) 2000 Michael Smith <msmith@freebd.org> 5 * Copyright (c) 2000 BSDi 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 58 unchanged lines hidden (view full) --- 67}; 68 69static driver_t acpi_lid_driver = { 70 "acpi_lid", 71 acpi_lid_methods, 72 sizeof(struct acpi_lid_softc), 73}; 74 | 1/*- 2 * Copyright (c) 2000 Takanori Watanabe <takawata@jp.freebsd.org> 3 * Copyright (c) 2000 Mitsuru IWASAKI <iwasaki@jp.freebsd.org> 4 * Copyright (c) 2000 Michael Smith <msmith@freebd.org> 5 * Copyright (c) 2000 BSDi 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 58 unchanged lines hidden (view full) --- 67}; 68 69static driver_t acpi_lid_driver = { 70 "acpi_lid", 71 acpi_lid_methods, 72 sizeof(struct acpi_lid_softc), 73}; 74 |
75devclass_t acpi_lid_devclass; | 75static devclass_t acpi_lid_devclass; |
76DRIVER_MODULE(acpi_lid, acpi, acpi_lid_driver, acpi_lid_devclass, 0, 0); 77 78static int 79acpi_lid_probe(device_t dev) 80{ 81 if ((acpi_get_type(dev) == ACPI_TYPE_DEVICE) && 82 !acpi_disabled("lid") && 83 acpi_MatchHid(dev, "PNP0C0D")) { --- 79 unchanged lines hidden --- | 76DRIVER_MODULE(acpi_lid, acpi, acpi_lid_driver, acpi_lid_devclass, 0, 0); 77 78static int 79acpi_lid_probe(device_t dev) 80{ 81 if ((acpi_get_type(dev) == ACPI_TYPE_DEVICE) && 82 !acpi_disabled("lid") && 83 acpi_MatchHid(dev, "PNP0C0D")) { --- 79 unchanged lines hidden --- |