]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sata_mv: Define module alias for platform device
authorMartin Michlmayr <tbm@cyrius.com>
Sat, 16 Feb 2008 17:15:27 +0000 (18:15 +0100)
committerJeff Garzik <jeff@garzik.org>
Wed, 20 Feb 2008 17:08:54 +0000 (12:08 -0500)
commit2e7e1214defe7783c8187962bacdd0a87a7dbeee
tree667e796d058a62bce0ab005e8d01274430a8bba5
parentcb616dd5bb6ddadf3e0607696b18055065ce4c3d
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>
drivers/ata/sata_mv.c