Skip to contentSkip to conversation

ACPI: event: fix acpi_bus_generate_netlink_event call

PATCH In review Henrique de Moraes Holschuh 3 participants 4 messages Sep 3, 2007 – Sep 4, 2007 ACPI

lore
Share & tools
lore
#0 lore raw

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
index a2b9304..5c95863 100644
@@ -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
reviewer
#1 lore raw

Wow, 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)

---
 drivers/acpi/event.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/acpi/event.c +1 -1
index a2b9304..5c95863 100644
@@ -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)
 {
#2 lore raw
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
#3 lore raw
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