Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 7870
b: refs/heads/master
c: 01357dc
h: refs/heads/master
v: v3
  • Loading branch information
Russell King authored and Russell King committed Sep 8, 2005
1 parent 6220a0b commit 5df3d99
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 8dc003359cc3996abad9e53a7b2280b272610283
refs/heads/master: 01357dcac62ac028de65a1c315eb75c530c8a5d6
8 changes: 7 additions & 1 deletion trunk/include/linux/mmc/host.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,20 @@ struct mmc_host {
struct mmc_card *card_selected; /* the selected MMC card */

struct work_struct detect;

unsigned long private[0] ____cacheline_aligned;
};

extern struct mmc_host *mmc_alloc_host(int extra, struct device *);
extern int mmc_add_host(struct mmc_host *);
extern void mmc_remove_host(struct mmc_host *);
extern void mmc_free_host(struct mmc_host *);

#define mmc_priv(x) ((void *)((x) + 1))
static inline void *mmc_priv(struct mmc_host *host)
{
return (void *)host->private;
}

#define mmc_dev(x) ((x)->dev)
#define mmc_hostname(x) ((x)->class_dev.class_id)

Expand Down

0 comments on commit 5df3d99

Please sign in to comment.