summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2007-08-24 03:06:33 -0400
committerLen Brown <len.brown@intel.com>2007-08-24 03:06:33 -0400
commit3e069ee0c30d6f28b79e409ef2df1ffa427897ae (patch)
tree2da13043b1c09107c03dd430b3c0a6e83b9162d0
parent14e04fb34ffa82ee61ae69f98d8fca12d2e8e31c (diff)
downloadlinux-3e069ee0c30d6f28b79e409ef2df1ffa427897ae.tar.bz2
ACPI: fix ia64 allnoconfig build
drivers/acpi/event.c:238: error: conflicting types for ‘acpi_bus_generate_netlink_event’ include/acpi/acpi_bus.h:324: error: previous declaration of ‘acpi_bus_generate_netlink_event’ was here Signed-off-by: Len Brown <len.brown@intel.com>
-rw-r--r--drivers/acpi/event.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/acpi/event.c b/drivers/acpi/event.c
index cf6d5161cf31..a2b9304596ce 100644
--- a/drivers/acpi/event.c
+++ b/drivers/acpi/event.c
@@ -233,8 +233,9 @@ static int acpi_event_genetlink_init(void)
}
#else
-int acpi_bus_generate_netlink_event(struct acpi_device *device, u8 type,
- int data)
+int acpi_bus_generate_netlink_event(const char *device_class,
+ const char *bus_id,
+ u8 type, int data)
{
return 0;
}