mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 20:53:53 +08:00
d82444d2a9
Based on 1 normalized pattern(s): gpl v2 only extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 1 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Alexios Zavras <alexios.zavras@intel.com> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190602204654.833758402@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
32 lines
672 B
C
32 lines
672 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* atmel platform data
|
|
*/
|
|
|
|
#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);
|
|
#else
|
|
static inline int at91_suspend_entering_slow_clock(void)
|
|
{
|
|
return 0;
|
|
}
|
|
#endif
|
|
|
|
#endif /* __ATMEL_H__ */
|