diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2020-09-30 20:48:02 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2020-11-27 22:25:07 +0100 |
commit | 24c8a743336a1fdf42c0c768b4435633069c6a39 (patch) | |
tree | 3896bf4dba7a1f12f5d9224bb83f94fde091e3ba /include/linux/platform_data/atmel.h | |
parent | 786c395dbe4216c2349914952b8cdb57ea8a326a (diff) | |
download | linux-stable-24c8a743336a1fdf42c0c768b4435633069c6a39.tar.gz linux-stable-24c8a743336a1fdf42c0c768b4435633069c6a39.tar.bz2 linux-stable-24c8a743336a1fdf42c0c768b4435633069c6a39.zip |
pcmcia: at91_cf: move definitions locally
struct at91_cf_data is only used in the driver since all the platforms moved
to device tree, move its definition locally.
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20200930184804.3127757-1-alexandre.belloni@bootlin.com
Diffstat (limited to 'include/linux/platform_data/atmel.h')
-rw-r--r-- | include/linux/platform_data/atmel.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/platform_data/atmel.h b/include/linux/platform_data/atmel.h index 99e6069c5fd8..73f63be509c4 100644 --- a/include/linux/platform_data/atmel.h +++ b/include/linux/platform_data/atmel.h @@ -6,18 +6,6 @@ #ifndef __ATMEL_H__ #define __ATMEL_H__ - /* Compact Flash */ -struct at91_cf_data { - int irq_pin; /* I/O IRQ */ - int det_pin; /* Card detect */ - int vcc_pin; /* power switching */ - int rst_pin; /* card reset */ - u8 chipselect; /* EBI Chip Select number */ - u8 flags; -#define AT91_CF_TRUE_IDE 0x01 -#define AT91_IDE_SWAP_A0_A2 0x02 -}; - /* FIXME: this needs a better location, but gets stuff building again */ #ifdef CONFIG_ATMEL_PM extern int at91_suspend_entering_slow_clock(void); |