Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2e7e1214defe7783c8187962bacdd0a87a7dbeee
Commit:     2e7e1214defe7783c8187962bacdd0a87a7dbeee
Parent:     cb616dd5bb6ddadf3e0607696b18055065ce4c3d
Author:     Martin Michlmayr <[EMAIL PROTECTED]>
AuthorDate: Sat Feb 16 18:15:27 2008 +0100
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Wed Feb 20 12:08:54 2008 -0500

    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 <[EMAIL PROTECTED]>
    Acked-by: Mark Lord <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
---
 drivers/ata/sata_mv.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c
index 1c1fbf3..0c0057e 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");
 MODULE_LICENSE("GPL");
 MODULE_DEVICE_TABLE(pci, mv_pci_tbl);
 MODULE_VERSION(DRV_VERSION);
+MODULE_ALIAS("platform:sata_mv");
 
 #ifdef CONFIG_PCI
 module_param(msi, int, 0444);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to