mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-13 05:17:49 +01:00
Platform data for device drivers should be defined in include/linux/platform_data/*.h, not in the architecture and platform specific directories. This moves such data out of the pxa include directories Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Mark Brown <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]> Acked-by: Nicolas Pitre <[email protected]> Acked-by: Mauro Carvalho Chehab <[email protected]> Acked-by: Igor Grinberg <[email protected]> Acked-by: Jeff Garzik <[email protected]> Acked-by: Marek Vasut <[email protected]> Acked-by: Robert Jarzmik <[email protected]> Acked-by: Paul Parsons <[email protected]> Acked-by: Vinod Koul <[email protected]> Acked-By: Stefan Schmidt <[email protected]> Cc: Eric Miao <[email protected]> Cc: Haojian Zhuang <[email protected]> Cc: Daniel Ribeiro <[email protected]> Cc: Harald Welte <[email protected]> Cc: Philipp Zabel <[email protected]> Cc: Tomas Cech <[email protected]> Cc: Sergey Lapin <[email protected]> Cc: Jonathan Cameron <[email protected]> Cc: Dan Williams <[email protected]> Cc: Dmitry Torokhov <[email protected]> Cc: Chris Ball <[email protected]> Cc: David Woodhouse <[email protected]> Cc: Samuel Ortiz <[email protected]> Cc: Alan Stern <[email protected]> Cc: Florian Tobias Schandinat <[email protected]> Cc: Liam Girdwood <[email protected]> Cc: Jaroslav Kysela <[email protected]> Cc: Takashi Iwai <[email protected]> Cc: Guennadi Liakhovetski <[email protected]> Cc: Artem Bityutskiy <[email protected]> Cc: [email protected]
26 lines
665 B
C
26 lines
665 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);
|
|
int gpio_pwdown; /* powerdown GPIO for the IrDA chip */
|
|
bool gpio_pwdown_inverted; /* gpio_pwdown is inverted */
|
|
};
|
|
|
|
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
|