aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-acpi.c
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2008-05-06 10:57:55 -0400
committerJiri Kosina <jkosina@suse.cz>2008-05-06 10:57:55 -0400
commit7022b15e2a9f878fd5184586064c63352c3dd225 (patch)
tree5365c2f5bc82ae1946636ee8d5cd5d3b7e804f1b /drivers/ata/libata-acpi.c
parentaaad2b0c757f3e6e02552cb0bdcd91a5ec0d6305 (diff)
parenta15306365a16380f3bafee9e181ba01231d4acd7 (diff)
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'drivers/ata/libata-acpi.c')
-rw-r--r--drivers/ata/libata-acpi.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/ata/libata-acpi.c b/drivers/ata/libata-acpi.c
index 8c1cfc645c85..70b77e0899a8 100644
--- a/drivers/ata/libata-acpi.c
+++ b/drivers/ata/libata-acpi.c
@@ -227,11 +227,9 @@ void ata_acpi_associate(struct ata_host *host)
227 acpi_install_notify_handler(ap->acpi_handle, 227 acpi_install_notify_handler(ap->acpi_handle,
228 ACPI_SYSTEM_NOTIFY, 228 ACPI_SYSTEM_NOTIFY,
229 ata_acpi_ap_notify, ap); 229 ata_acpi_ap_notify, ap);
230#if defined(CONFIG_ACPI_DOCK) || defined(CONFIG_ACPI_DOCK_MODULE)
231 /* we might be on a docking station */ 230 /* we might be on a docking station */
232 register_hotplug_dock_device(ap->acpi_handle, 231 register_hotplug_dock_device(ap->acpi_handle,
233 ata_acpi_ap_notify, ap); 232 ata_acpi_ap_notify, ap);
234#endif
235 } 233 }
236 234
237 for (j = 0; j < ata_link_max_devices(&ap->link); j++) { 235 for (j = 0; j < ata_link_max_devices(&ap->link); j++) {
@@ -241,11 +239,9 @@ void ata_acpi_associate(struct ata_host *host)
241 acpi_install_notify_handler(dev->acpi_handle, 239 acpi_install_notify_handler(dev->acpi_handle,
242 ACPI_SYSTEM_NOTIFY, 240 ACPI_SYSTEM_NOTIFY,
243 ata_acpi_dev_notify, dev); 241 ata_acpi_dev_notify, dev);
244#if defined(CONFIG_ACPI_DOCK) || defined(CONFIG_ACPI_DOCK_MODULE)
245 /* we might be on a docking station */ 242 /* we might be on a docking station */
246 register_hotplug_dock_device(dev->acpi_handle, 243 register_hotplug_dock_device(dev->acpi_handle,
247 ata_acpi_dev_notify, dev); 244 ata_acpi_dev_notify, dev);
248#endif
249 } 245 }
250 } 246 }
251 } 247 }