acpi_button.c (bb949efb953c5b9e9e79e58157915505c4504f66) | acpi_button.c (64278df5e02bfd3061b58440a695339ec48c2785) |
---|---|
1/*- 2 * Copyright (c) 2000 Mitsaru IWASAKI <iwasaki@jp.freebsd.org> 3 * Copyright (c) 2000 Michael Smith <msmith@freebsd.org> 4 * Copyright (c) 2000 BSDi 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 --- 69 unchanged lines hidden (view full) --- 78 "acpi_button", 79 acpi_button_methods, 80 sizeof(struct acpi_button_softc), 81}; 82 83static devclass_t acpi_button_devclass; 84DRIVER_MODULE(acpi_button, acpi, acpi_button_driver, acpi_button_devclass, 85 0, 0); | 1/*- 2 * Copyright (c) 2000 Mitsaru IWASAKI <iwasaki@jp.freebsd.org> 3 * Copyright (c) 2000 Michael Smith <msmith@freebsd.org> 4 * Copyright (c) 2000 BSDi 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 --- 69 unchanged lines hidden (view full) --- 78 "acpi_button", 79 acpi_button_methods, 80 sizeof(struct acpi_button_softc), 81}; 82 83static devclass_t acpi_button_devclass; 84DRIVER_MODULE(acpi_button, acpi, acpi_button_driver, acpi_button_devclass, 85 0, 0); |
86MODULE_DEPEND(acpi_button, acpi, 1, 1, 1); |
|
86 87static int 88acpi_button_probe(device_t dev) 89{ 90 struct acpi_button_softc *sc; 91 int ret = ENXIO; 92 93 sc = device_get_softc(dev); --- 171 unchanged lines hidden --- | 87 88static int 89acpi_button_probe(device_t dev) 90{ 91 struct acpi_button_softc *sc; 92 int ret = ENXIO; 93 94 sc = device_get_softc(dev); --- 171 unchanged lines hidden --- |