diff options
| author | Ulf Hansson <ulf.hansson@linaro.org> | 2014-10-06 05:00:15 -0400 |
|---|---|---|
| committer | Ulf Hansson <ulf.hansson@linaro.org> | 2014-11-10 06:40:32 -0500 |
| commit | 433b7b1210a4ece4f2b4f1b04f31a2f0928c8aa8 (patch) | |
| tree | 591b25cc091974b3ee4413e05c9afcacd1e7e272 /include/linux/mmc | |
| parent | d99903ca4c89c3aa325845cf87ff249d0b432261 (diff) | |
mmc: core: Don't export the to_sdio_driver macro
The macro is only used by the mmc core, so let's move it in there.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux/mmc')
| -rw-r--r-- | include/linux/mmc/sdio_func.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/mmc/sdio_func.h b/include/linux/mmc/sdio_func.h index 50f0bc952328..aab032a6ae61 100644 --- a/include/linux/mmc/sdio_func.h +++ b/include/linux/mmc/sdio_func.h | |||
| @@ -84,8 +84,6 @@ struct sdio_driver { | |||
| 84 | struct device_driver drv; | 84 | struct device_driver drv; |
| 85 | }; | 85 | }; |
| 86 | 86 | ||
| 87 | #define to_sdio_driver(d) container_of(d, struct sdio_driver, drv) | ||
| 88 | |||
| 89 | /** | 87 | /** |
| 90 | * SDIO_DEVICE - macro used to describe a specific SDIO device | 88 | * SDIO_DEVICE - macro used to describe a specific SDIO device |
| 91 | * @vend: the 16 bit manufacturer code | 89 | * @vend: the 16 bit manufacturer code |
