Skip to content

Commit

Permalink
ACPI: fix ia64 allnoconfig build
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Len Brown committed Aug 24, 2007
1 parent 14e04fb commit 3e069ee
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/acpi/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 3e069ee

Please sign in to comment.