Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140459
b: refs/heads/master
c: 6b0b628
h: refs/heads/master
i:
  140457: 3f901b1
  140455: 8a47ad6
v: v3
  • Loading branch information
Andy Whitcroft authored and Pierre Ossman committed Mar 24, 2009
1 parent 4db5f53 commit 0ca886b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7de427d088a967d2173739e21e744921d5496a8b
refs/heads/master: 6b0b62853b2553be375033776902640320970846
2 changes: 2 additions & 0 deletions trunk/drivers/mmc/card/block.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@

#include "queue.h"

MODULE_ALIAS("mmc:block");

/*
* max 8 partitions per card
*/
Expand Down
8 changes: 8 additions & 0 deletions trunk/drivers/mmc/core/bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0ca886b

Please sign in to comment.