mmc: sdhci-pxa: move platform data to include/linux/platform_data

As suggested by Arnd, move platform data to include/linux/platform_data
in order to improve build coverage for the driver.

Signed-off-by: Zhangfei Gao <zhangfei.gao@marvell.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
This commit is contained in:
Zhangfei Gao 2011-06-20 22:11:52 +08:00 committed by Chris Ball
parent c984c26385
commit bfed345edf
4 changed files with 8 additions and 8 deletions

View file

@ -1,7 +1,7 @@
#ifndef __ASM_MACH_MMP2_H #ifndef __ASM_MACH_MMP2_H
#define __ASM_MACH_MMP2_H #define __ASM_MACH_MMP2_H
#include <plat/sdhci.h> #include <linux/platform_data/pxa_sdhci.h>
struct sys_timer; struct sys_timer;

View file

@ -25,7 +25,7 @@
#include <linux/gpio.h> #include <linux/gpio.h>
#include <linux/mmc/card.h> #include <linux/mmc/card.h>
#include <linux/mmc/host.h> #include <linux/mmc/host.h>
#include <plat/sdhci.h> #include <linux/platform_data/pxa_sdhci.h>
#include <linux/slab.h> #include <linux/slab.h>
#include "sdhci.h" #include "sdhci.h"
#include "sdhci-pltfm.h" #include "sdhci-pltfm.h"

View file

@ -24,7 +24,7 @@
#include <linux/gpio.h> #include <linux/gpio.h>
#include <linux/mmc/card.h> #include <linux/mmc/card.h>
#include <linux/mmc/host.h> #include <linux/mmc/host.h>
#include <plat/sdhci.h> #include <linux/platform_data/pxa_sdhci.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/delay.h> #include <linux/delay.h>
#include "sdhci.h" #include "sdhci.h"

View file

@ -1,4 +1,5 @@
/* linux/arch/arm/plat-pxa/include/plat/sdhci.h /*
* include/linux/platform_data/pxa_sdhci.h
* *
* Copyright 2010 Marvell * Copyright 2010 Marvell
* Zhangfei Gao <zhangfei.gao@marvell.com> * Zhangfei Gao <zhangfei.gao@marvell.com>
@ -10,8 +11,8 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
#ifndef __PLAT_PXA_SDHCI_H #ifndef _PXA_SDHCI_H_
#define __PLAT_PXA_SDHCI_H #define _PXA_SDHCI_H_
/* pxa specific flag */ /* pxa specific flag */
/* Require clock free running */ /* Require clock free running */
@ -56,5 +57,4 @@ struct sdhci_pxa {
u8 clk_enable; u8 clk_enable;
u8 power_mode; u8 power_mode;
}; };
#endif /* _PXA_SDHCI_H_ */
#endif /* __PLAT_PXA_SDHCI_H */