Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6d91439a authored by Linus Walleij's avatar Linus Walleij Committed by Ulf Hansson
Browse files

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: default avatarLinus Walleij <linus.walleij@linaro.org>
Acked-by: default avatarNicolas Pitre <nico@linaro.org>
Acked-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 1ef5e49e
Loading
Loading
Loading
Loading
+6 −1
Original line number Original line Diff line number Diff line
@@ -28,7 +28,6 @@


#include <asm/sizes.h>
#include <asm/sizes.h>
#include <asm/unaligned.h>
#include <asm/unaligned.h>
#include <linux/platform_data/mmc-mvsdio.h>


#include "mvsdio.h"
#include "mvsdio.h"


@@ -37,6 +36,12 @@
static int maxfreq;
static int maxfreq;
static int nodma;
static int nodma;


struct mvsdio_platform_data {
	unsigned int clock;
	int gpio_card_detect;
	int gpio_write_protect;
};

struct mvsd_host {
struct mvsd_host {
	void __iomem *base;
	void __iomem *base;
	struct mmc_request *mrq;
	struct mmc_request *mrq;
+0 −18
Original line number Original line Diff line number Diff line
/*
 * 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 <linux/mbus.h>

struct mvsdio_platform_data {
	unsigned int clock;
	int gpio_card_detect;
	int gpio_write_protect;
};

#endif