Commit 433b7b12 authored by Ulf Hansson's avatar Ulf Hansson

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: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent d99903ca
...@@ -26,6 +26,8 @@ ...@@ -26,6 +26,8 @@
#include "sdio_cis.h" #include "sdio_cis.h"
#include "sdio_bus.h" #include "sdio_bus.h"
#define to_sdio_driver(d) container_of(d, struct sdio_driver, drv)
/* show configuration fields */ /* show configuration fields */
#define sdio_config_attr(field, format_string) \ #define sdio_config_attr(field, format_string) \
static ssize_t \ static ssize_t \
......
...@@ -84,8 +84,6 @@ struct sdio_driver { ...@@ -84,8 +84,6 @@ struct sdio_driver {
struct device_driver drv; 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 * SDIO_DEVICE - macro used to describe a specific SDIO device
* @vend: the 16 bit manufacturer code * @vend: the 16 bit manufacturer code
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment