ARM: 5720/1: Move MMCI header to amba include dir
This moves the mmci platform data definition struct away from arch/arm/include/asm/mach/mmc.h into the more proper place among the other primecells in include/linux/amba/mmci.h and at the same time renames it to "mmci.h", and also the struct in this file confusingly named mmc_platform_data has been renamed mmci_platform_data for clarity. Cc: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:

committed by
Russell King

parent
4321532cec
commit
6ef297f86b
18
include/linux/amba/mmci.h
Normal file
18
include/linux/amba/mmci.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* include/linux/amba/mmci.h
|
||||
*/
|
||||
#ifndef AMBA_MMCI_H
|
||||
#define AMBA_MMCI_H
|
||||
|
||||
#include <linux/mmc/host.h>
|
||||
|
||||
struct mmci_platform_data {
|
||||
unsigned int ocr_mask; /* available voltages */
|
||||
u32 (*translate_vdd)(struct device *, unsigned int);
|
||||
unsigned int (*status)(struct device *);
|
||||
int gpio_wp;
|
||||
int gpio_cd;
|
||||
unsigned long capabilities;
|
||||
};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user