mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
a09e64fbc0
This just leaves include/asm-arm/plat-* to deal with. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
23 lines
549 B
C
23 lines
549 B
C
#ifndef ASMARM_ARCH_IRDA_H
|
|
#define ASMARM_ARCH_IRDA_H
|
|
|
|
/* board specific transceiver capabilities */
|
|
|
|
#define IR_OFF 1
|
|
#define IR_SIRMODE 2
|
|
#define IR_FIRMODE 4
|
|
|
|
struct pxaficp_platform_data {
|
|
int transceiver_cap;
|
|
void (*transceiver_mode)(struct device *dev, int mode);
|
|
int (*startup)(struct device *dev);
|
|
void (*shutdown)(struct device *dev);
|
|
};
|
|
|
|
extern void pxa_set_ficp_info(struct pxaficp_platform_data *info);
|
|
|
|
#if defined(CONFIG_PXA25x) || defined(CONFIG_PXA27x)
|
|
void pxa2xx_transceiver_mode(struct device *dev, int mode);
|
|
#endif
|
|
|
|
#endif
|