mirror of
https://github.com/torvalds/linux.git
synced 2024-11-07 04:32:03 +00:00
fa590c9234
This allows us to keep things working when booted with device tree. Note that we still need to initialize most things with platform data as the drivers are lacking support for device tree. Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Tony Lindgren <tony@atomide.com>
16 lines
388 B
C
16 lines
388 B
C
#ifndef __OMAP_COMMON_BOARD_DEVICES__
|
|
#define __OMAP_COMMON_BOARD_DEVICES__
|
|
|
|
#include "twl-common.h"
|
|
|
|
#define NAND_BLOCK_SIZE SZ_128K
|
|
|
|
struct mtd_partition;
|
|
struct ads7846_platform_data;
|
|
|
|
void omap_ads7846_init(int bus_num, int gpio_pendown, int gpio_debounce,
|
|
struct ads7846_platform_data *board_pdata);
|
|
void *n8x0_legacy_init(void);
|
|
|
|
#endif /* __OMAP_COMMON_BOARD_DEVICES__ */
|