mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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 <[email protected]> Cc: Andrew Lunn <[email protected]> Cc: Sebastian Hesselbarth <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Acked-by: Nicolas Pitre <[email protected]> Acked-by: Andrew Lunn <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
This commit is contained in:
parent
1ef5e49e46
commit
6d91439ae2
2 changed files with 6 additions and 19 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue