diff options
Diffstat (limited to 'drivers/acpi/ibm_acpi.c')
-rw-r--r-- | drivers/acpi/ibm_acpi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/ibm_acpi.c b/drivers/acpi/ibm_acpi.c index 6c8291c3e774..ad85e10001f4 100644 --- a/drivers/acpi/ibm_acpi.c +++ b/drivers/acpi/ibm_acpi.c | |||
@@ -1025,7 +1025,7 @@ static int setup_notify(struct ibm_struct *ibm) | |||
1025 | return 0; | 1025 | return 0; |
1026 | } | 1026 | } |
1027 | 1027 | ||
1028 | static int device_add(struct acpi_device *device) | 1028 | static int ibmacpi_device_add(struct acpi_device *device) |
1029 | { | 1029 | { |
1030 | return 0; | 1030 | return 0; |
1031 | } | 1031 | } |
@@ -1043,7 +1043,7 @@ static int register_driver(struct ibm_struct *ibm) | |||
1043 | memset(ibm->driver, 0, sizeof(struct acpi_driver)); | 1043 | memset(ibm->driver, 0, sizeof(struct acpi_driver)); |
1044 | sprintf(ibm->driver->name, "%s/%s", IBM_NAME, ibm->name); | 1044 | sprintf(ibm->driver->name, "%s/%s", IBM_NAME, ibm->name); |
1045 | ibm->driver->ids = ibm->hid; | 1045 | ibm->driver->ids = ibm->hid; |
1046 | ibm->driver->ops.add = &device_add; | 1046 | ibm->driver->ops.add = &ibmacpi_device_add; |
1047 | 1047 | ||
1048 | ret = acpi_bus_register_driver(ibm->driver); | 1048 | ret = acpi_bus_register_driver(ibm->driver); |
1049 | if (ret < 0) { | 1049 | if (ret < 0) { |