mmc: mvsdio: delete platform data header
This platform data struct is only used inside the MVSDIO driver, nowhere else in the entire kernel. Move the struct into the driver and delete the external header. Cc: Nicolas Pitre <nico@fluxnic.net> Cc: Andrew Lunn <andrew@lunn.ch> Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Nicolas Pitre <nico@linaro.org> Acked-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
这个提交包含在:
@@ -28,7 +28,6 @@
|
||||
|
||||
#include <asm/sizes.h>
|
||||
#include <asm/unaligned.h>
|
||||
#include <linux/platform_data/mmc-mvsdio.h>
|
||||
|
||||
#include "mvsdio.h"
|
||||
|
||||
@@ -37,6 +36,12 @@
|
||||
static int maxfreq;
|
||||
static int nodma;
|
||||
|
||||
struct mvsdio_platform_data {
|
||||
unsigned int clock;
|
||||
int gpio_card_detect;
|
||||
int gpio_write_protect;
|
||||
};
|
||||
|
||||
struct mvsd_host {
|
||||
void __iomem *base;
|
||||
struct mmc_request *mrq;
|
||||
|
在新工单中引用
屏蔽一个用户