Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 164754
b: refs/heads/master
c: 996ad56
h: refs/heads/master
v: v3
  • Loading branch information
Nicolas Pitre authored and Linus Torvalds committed Sep 23, 2009
1 parent 23499d2 commit e4dd215
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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: 95cdfb72b9bc568803f395c266152c71b034b461
refs/heads/master: 996ad5686c5f868e67557cc1bfcb2cfdde1a18b4
3 changes: 0 additions & 3 deletions trunk/drivers/mmc/core/sdio_bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
#include "sdio_cis.h"
#include "sdio_bus.h"

#define dev_to_sdio_func(d) container_of(d, struct sdio_func, dev)
#define to_sdio_driver(d) container_of(d, struct sdio_driver, drv)

/* show configuration fields */
#define sdio_config_attr(field, format_string) \
static ssize_t \
Expand Down
3 changes: 3 additions & 0 deletions trunk/include/linux/mmc/sdio_func.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ struct sdio_func {

#define sdio_get_drvdata(f) dev_get_drvdata(&(f)->dev)
#define sdio_set_drvdata(f,d) dev_set_drvdata(&(f)->dev, d)
#define dev_to_sdio_func(d) container_of(d, struct sdio_func, dev)

/*
* SDIO function device driver
Expand All @@ -81,6 +82,8 @@ struct sdio_driver {
struct device_driver drv;
};

#define to_sdio_driver(d) container_of(d, struct sdio_driver, drv)

/**
* SDIO_DEVICE - macro used to describe a specific SDIO device
* @vend: the 16 bit manufacturer code
Expand Down

0 comments on commit e4dd215

Please sign in to comment.