ACPI: event: fix acpi_bus_generate_netlink_event call
PATCH 1/1 ACPI: event: fix acpi_bus_generate_netlink_event call
Fix for:drivers/acpi/event.c:243: error: 'acpi_generate_netlink_event' undeclared here (not in a function)
--- drivers/acpi/event.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/acpi/event.c +1 -1
@@ -240,7 +240,7 @@ int acpi_bus_generate_netlink_event(const char *device_class,return 0 ; } -EXPORT_SYMBOL (acpi_generate_netlink_event); +EXPORT_SYMBOL (acpi_bus_generate_netlink_event);static int acpi_event_genetlink_init (void ) {
Signature · 1 line
1.5.2.4
Len Brown
reviewerWow, do you really build with CONFIG_NET=n,
or did randconfig find this?
-Len
Quoted 22 lines · Henrique de Moraes Holschuh
Fix for:
drivers/acpi/event.c:243: error: 'acpi_generate_netlink_event' undeclared here (not in a function)Signed-off-by Henrique de Moraes Holschuh <[email protected]>--- drivers/acpi/event.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/acpi/event.c +1
-1@@ -240,7 +240,7 @@ int acpi_bus_generate_netlink_event(const char *device_class,return 0 ; } -EXPORT_SYMBOL (acpi_generate_netlink_event); +EXPORT_SYMBOL (acpi_bus_generate_netlink_event);static int acpi_event_genetlink_init (void ) {
Quoted 2 lines · Len Brown
Wow, do you really build with
CONFIG_NET=n,
or did randconfig find this?
My build-it-quick config for thinkpad-acpi has CONFIG_NET=n :-)
It is not a kernel I use to test anything but straight "does it even compile?", though...
Signature · 4 lines
"One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh
Quoted 9 lines · Henrique de Moraes Holschuh
Quoted 2 lines · Len Brown
Wow, do you really build with
CONFIG_NET=n,
or did randconfig find this?My build-it-quick config for thinkpad-acpi has
CONFIG_NET=n:-)It is not a kernel I use to test anything but straight "does it even compile?", though...
Oops, thanks for fixing this.
Rui