Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 46190
b: refs/heads/master
c: 11354d0
h: refs/heads/master
v: v3
  • Loading branch information
Pierre Ossman committed Feb 4, 2007
1 parent b49c17d commit 3a7da86
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f22ee4edf63e7480511112d9965c71e07be3f8b7
refs/heads/master: 11354d03afe9dd0d114e078057158baad4b4eee9
2 changes: 1 addition & 1 deletion trunk/drivers/mmc/mmc_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ void mmc_init_card(struct mmc_card *card, struct mmc_host *host)
memset(card, 0, sizeof(struct mmc_card));
card->host = host;
device_initialize(&card->dev);
card->dev.parent = mmc_dev(host);
card->dev.parent = mmc_classdev(host);
card->dev.bus = &mmc_bus_type;
card->dev.release = mmc_release_card;
}
Expand Down
1 change: 1 addition & 0 deletions trunk/include/linux/mmc/host.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ static inline void *mmc_priv(struct mmc_host *host)
}

#define mmc_dev(x) ((x)->parent)
#define mmc_classdev(x) (&(x)->class_dev)
#define mmc_hostname(x) ((x)->class_dev.bus_id)

extern int mmc_suspend_host(struct mmc_host *, pm_message_t);
Expand Down

0 comments on commit 3a7da86

Please sign in to comment.