From: Linus Walleij Date: Wed, 25 Nov 2015 13:57:31 +0000 (+0100) Subject: mmc: mvsdio: delete platform data header X-Git-Tag: v4.5-rc1~155^2~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6d91439ae2d31c45706802e0a0716e25f9f97563;p=platform%2Fkernel%2Flinux-exynos.git 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 Cc: Andrew Lunn Cc: Sebastian Hesselbarth Signed-off-by: Linus Walleij Acked-by: Nicolas Pitre Acked-by: Andrew Lunn Signed-off-by: Ulf Hansson --- diff --git a/drivers/mmc/host/mvsdio.c b/drivers/mmc/host/mvsdio.c index a448498..18c7038 100644 --- a/drivers/mmc/host/mvsdio.c +++ b/drivers/mmc/host/mvsdio.c @@ -28,7 +28,6 @@ #include #include -#include #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; diff --git a/include/linux/platform_data/mmc-mvsdio.h b/include/linux/platform_data/mmc-mvsdio.h deleted file mode 100644 index d02704cd..0000000 --- a/include/linux/platform_data/mmc-mvsdio.h +++ /dev/null @@ -1,18 +0,0 @@ -/* - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. - */ - -#ifndef __MMC_MVSDIO_H -#define __MMC_MVSDIO_H - -#include - -struct mvsdio_platform_data { - unsigned int clock; - int gpio_card_detect; - int gpio_write_protect; -}; - -#endif