ARM: NUC900: add new MFP implement
Subsystems (2)
This patch is to add new MFP implement in mfp.c,since nuc900 mmc driver needs this function support, thanks!
Signed-off-by Wan ZongShun <[email protected]>
--- arch/arm/mach-w90x900/include/mach/mfp.h | 3 +- arch/arm/mach-w90x900/include/mach/nuc900_spi.h | 2 +- arch/arm/mach-w90x900/mfp.c | 49 ++++++++++++++++++++--- 3 files changed, 46 insertions(+), 8 deletions(-)
(quoted diff) +0 -0
b/arch/arm/mach-w90x900/include/mach/mfp.h
index 94c0e71..23ef1f5 100644
arch/arm/mach-w90x900/include/mach/mfp.h +2 -1
@@ -19,6 +19,7 @@extern void mfp_set_groupf (struct device *dev);extern void mfp_set_groupc (struct device *dev);extern void mfp_set_groupi (struct device *dev); -extern void mfp_set_groupg (struct device *dev); +extern void mfp_set_groupg (struct device *dev,const char *subname); +extern void mfp_set_groupd (struct device *dev,const char *subname);#endif /* __ASM_ARCH_MFP_H */
(quoted diff) +0 -0
b/arch/arm/mach-w90x900/include/mach/nuc900_spi.h
index bd94819..2c4e0c1 100644
arch/arm/mach-w90x900/include/mach/nuc900_spi.h +1 -1
@@ -14,7 +14,7 @@ #ifndef __ASM_ARCH_SPI_H #define __ASM_ARCH_SPI_H -extern void mfp_set_groupg(struct device *dev); +extern void mfp_set_groupg(struct device *dev, const char *subname); struct nuc900_spi_info { unsigned int num_cs;
arch/arm/mach-w90x900/mfp.c +43 -6
89 lines not on this page · raw message
Signature · 1 line
1.7.0.4