]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ARM: OMAP: mmc MODULE_ALIAS, warnings
authorDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 26 Jul 2005 12:56:25 +0000 (05:56 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 26 Jul 2005 12:56:25 +0000 (05:56 -0700)
commitd6ae1d261f467dcabfce1f90bb43d386aac21713
tree819425bda4a0cf231b9ab7cde9b6ede25feb9f45
parente574e010f8ea6104ea783632a07f6c065d8a7127
[PATCH] ARM: OMAP: mmc MODULE_ALIAS, warnings

As with OHCI, the module name and device name differ, so to
coldplug a MODULE_ALIAS is needed.  Plus cope with a recent
API change, removing compile warnings (and oops if you use
the sysfs attributes).

Use DRIVER_NAME more, including as a MODULE_ALIAS so that coldplug
can work by scanning /sys/devices/platform and just modprobing.

Cope with some driver model changes that promote shared attribute
methods.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.ne>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/mmc/omap.c