]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/mmc/core/bus.c
Merge branch 'omap-pool'
[linux-2.6-omap-h63xx.git] / drivers / mmc / core / bus.c
index f210a8ee6861498f10ec1ecafbcd8a09b0b9f9fa..bdb165f93046f9cdce780a614ddafcc41f3cab91 100644 (file)
@@ -84,6 +84,14 @@ mmc_bus_uevent(struct device *dev, struct kobj_uevent_env *env)
        }
 
        retval = add_uevent_var(env, "MMC_NAME=%s", mmc_card_name(card));
+       if (retval)
+               return retval;
+
+       /*
+        * Request the mmc_block device.  Note: that this is a direct request
+        * for the module it carries no information as to what is inserted.
+        */
+       retval = add_uevent_var(env, "MODALIAS=mmc:block");
 
        return retval;
 }