Loading...
1#ifndef __OMAP_COMMON_BOARD_DEVICES__
2#define __OMAP_COMMON_BOARD_DEVICES__
3
4#include "twl-common.h"
5
6#define NAND_BLOCK_SIZE SZ_128K
7
8struct mtd_partition;
9struct ads7846_platform_data;
10
11void omap_ads7846_init(int bus_num, int gpio_pendown, int gpio_debounce,
12 struct ads7846_platform_data *board_pdata);
13void omap_nand_flash_init(int opts, struct mtd_partition *parts, int n_parts);
14
15#endif /* __OMAP_COMMON_BOARD_DEVICES__ */
1#ifndef __OMAP_COMMON_BOARD_DEVICES__
2#define __OMAP_COMMON_BOARD_DEVICES__
3
4#include <sound/tlv320aic3x.h>
5#include <linux/mfd/menelaus.h>
6#include "twl-common.h"
7
8#define NAND_BLOCK_SIZE SZ_128K
9
10struct mtd_partition;
11struct ads7846_platform_data;
12
13void omap_ads7846_init(int bus_num, int gpio_pendown, int gpio_debounce,
14 struct ads7846_platform_data *board_pdata);
15void *n8x0_legacy_init(void);
16
17extern struct menelaus_platform_data n8x0_menelaus_platform_data;
18extern struct aic3x_pdata n810_aic33_data;
19
20#endif /* __OMAP_COMMON_BOARD_DEVICES__ */