• Andy Whitcroft's avatar
    mmc: add MODALIAS linkage for MMC/SD devices · 6b0b6285
    Andy Whitcroft authored
    Currently we are using an explicit udev rule to trigger loading of the
    mmc-block module when an MMC or SD card is detected:
    
        SUBSYSTEM=="mmc", RUN+="/sbin/modprobe -Qba mmc-block"
    
    It makes much more sense for the mmc bus driver and the mmc-block module to
    share MODALIAS information so that they are linked automatically.
    
    There is no real information of use in the MMC system at the current time.
    All devices inserted require us to load the mmc-block device.  Until such
    time as useful parameters exist simply reflect the module linkage via
    the module alias below:
    
    	mmc:block
    Signed-off-by: default avatarAndy Whitcroft <apw@canonical.com>
    Signed-off-by: default avatarPierre Ossman <drzeus@drzeus.cx>
    6b0b6285
bus.c 5.87 KB