aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/pata_at32.c3
-rw-r--r--drivers/ata/pata_bf54x.c1
-rw-r--r--drivers/ata/pata_ixp4xx_cf.c1
-rw-r--r--drivers/ata/pata_platform.c1
-rw-r--r--drivers/ata/pata_rb500_cf.c3
5 files changed, 9 insertions, 0 deletions
diff --git a/drivers/ata/pata_at32.c b/drivers/ata/pata_at32.c
index 3e8651d78952..5e104385d6a3 100644
--- a/drivers/ata/pata_at32.c
+++ b/drivers/ata/pata_at32.c
@@ -381,6 +381,9 @@ static int __exit pata_at32_remove(struct platform_device *pdev)
381 return 0; 381 return 0;
382} 382}
383 383
384/* work with hotplug and coldplug */
385MODULE_ALIAS("platform:at32_ide");
386
384static struct platform_driver pata_at32_driver = { 387static struct platform_driver pata_at32_driver = {
385 .remove = __exit_p(pata_at32_remove), 388 .remove = __exit_p(pata_at32_remove),
386 .driver = { 389 .driver = {
diff --git a/drivers/ata/pata_bf54x.c b/drivers/ata/pata_bf54x.c
index 0a5ad98635b1..e4cf73c4b70b 100644
--- a/drivers/ata/pata_bf54x.c
+++ b/drivers/ata/pata_bf54x.c
@@ -1601,3 +1601,4 @@ MODULE_AUTHOR("Sonic Zhang <sonic.zhang@analog.com>");
1601MODULE_DESCRIPTION("PATA driver for blackfin 54x ATAPI controller"); 1601MODULE_DESCRIPTION("PATA driver for blackfin 54x ATAPI controller");
1602MODULE_LICENSE("GPL"); 1602MODULE_LICENSE("GPL");
1603MODULE_VERSION(DRV_VERSION); 1603MODULE_VERSION(DRV_VERSION);
1604MODULE_ALIAS("platform:" DRV_NAME);
diff --git a/drivers/ata/pata_ixp4xx_cf.c b/drivers/ata/pata_ixp4xx_cf.c
index 8a175f23b907..de8d186f5abf 100644
--- a/drivers/ata/pata_ixp4xx_cf.c
+++ b/drivers/ata/pata_ixp4xx_cf.c
@@ -221,6 +221,7 @@ MODULE_AUTHOR("Alessandro Zummo <a.zummo@towertech.it>");
221MODULE_DESCRIPTION("low-level driver for ixp4xx Compact Flash PATA"); 221MODULE_DESCRIPTION("low-level driver for ixp4xx Compact Flash PATA");
222MODULE_LICENSE("GPL"); 222MODULE_LICENSE("GPL");
223MODULE_VERSION(DRV_VERSION); 223MODULE_VERSION(DRV_VERSION);
224MODULE_ALIAS("platform:" DRV_NAME);
224 225
225module_init(ixp4xx_pata_init); 226module_init(ixp4xx_pata_init);
226module_exit(ixp4xx_pata_exit); 227module_exit(ixp4xx_pata_exit);
diff --git a/drivers/ata/pata_platform.c b/drivers/ata/pata_platform.c
index 6527c56c34a3..8f65ad61b8af 100644
--- a/drivers/ata/pata_platform.c
+++ b/drivers/ata/pata_platform.c
@@ -277,3 +277,4 @@ MODULE_AUTHOR("Paul Mundt");
277MODULE_DESCRIPTION("low-level driver for platform device ATA"); 277MODULE_DESCRIPTION("low-level driver for platform device ATA");
278MODULE_LICENSE("GPL"); 278MODULE_LICENSE("GPL");
279MODULE_VERSION(DRV_VERSION); 279MODULE_VERSION(DRV_VERSION);
280MODULE_ALIAS("platform:" DRV_NAME);
diff --git a/drivers/ata/pata_rb500_cf.c b/drivers/ata/pata_rb500_cf.c
index 800ae4601f44..4345174aaeec 100644
--- a/drivers/ata/pata_rb500_cf.c
+++ b/drivers/ata/pata_rb500_cf.c
@@ -239,6 +239,9 @@ static __devexit int rb500_pata_driver_remove(struct platform_device *pdev)
239 return 0; 239 return 0;
240} 240}
241 241
242/* work with hotplug and coldplug */
243MODULE_ALIAS("platform:" DRV_NAME);
244
242static struct platform_driver rb500_pata_platform_driver = { 245static struct platform_driver rb500_pata_platform_driver = {
243 .probe = rb500_pata_driver_probe, 246 .probe = rb500_pata_driver_probe,
244 .remove = __devexit_p(rb500_pata_driver_remove), 247 .remove = __devexit_p(rb500_pata_driver_remove),