aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2008-02-16 12:15:27 -0500
committerJeff Garzik <jeff@garzik.org>2008-02-20 12:08:54 -0500
commit2e7e1214defe7783c8187962bacdd0a87a7dbeee (patch)
tree667e796d058a62bce0ab005e8d01274430a8bba5 /drivers/ata
parentcb616dd5bb6ddadf3e0607696b18055065ce4c3d (diff)
sata_mv: Define module alias for platform device
The sata_mv driver can be loaded as a platform device, as is done by various Orion (ARM) based devices. The driver needs to define a module alias for the platform driver so udev will load it automatically. Tested with Debian on a QNAP TS-209. Signed-off-by: Martin Michlmayr <tbm@cyrius.com> Acked-by: Mark Lord <mlord@pobox.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/sata_mv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c
index 1c1fbf375d9a..0c0057e76a67 100644
--- a/drivers/ata/sata_mv.c
+++ b/drivers/ata/sata_mv.c
@@ -3194,6 +3194,7 @@ MODULE_DESCRIPTION("SCSI low-level driver for Marvell SATA controllers");
3194MODULE_LICENSE("GPL"); 3194MODULE_LICENSE("GPL");
3195MODULE_DEVICE_TABLE(pci, mv_pci_tbl); 3195MODULE_DEVICE_TABLE(pci, mv_pci_tbl);
3196MODULE_VERSION(DRV_VERSION); 3196MODULE_VERSION(DRV_VERSION);
3197MODULE_ALIAS("platform:sata_mv");
3197 3198
3198#ifdef CONFIG_PCI 3199#ifdef CONFIG_PCI
3199module_param(msi, int, 0444); 3200module_param(msi, int, 0444);