|
@@ -24,7 +24,6 @@
|
|
#include <linux/mtd/mtd.h>
|
|
#include <linux/mtd/mtd.h>
|
|
#include <linux/mtd/partitions.h>
|
|
#include <linux/mtd/partitions.h>
|
|
#include <linux/spi/spi.h>
|
|
#include <linux/spi/spi.h>
|
|
-#include <linux/spi/tsc2102.h>
|
|
|
|
#include <linux/interrupt.h>
|
|
#include <linux/interrupt.h>
|
|
#include <linux/apm-emulation.h>
|
|
#include <linux/apm-emulation.h>
|
|
|
|
|
|
@@ -315,14 +314,6 @@ static void palmte_get_power_status(struct apm_power_info *info, int *battery)
|
|
#define palmte_get_power_status NULL
|
|
#define palmte_get_power_status NULL
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-static struct tsc2102_config palmte_tsc2102_config = {
|
|
|
|
- .use_internal = 0,
|
|
|
|
- .monitor = TSC_BAT1 | TSC_AUX | TSC_TEMP,
|
|
|
|
- .temp_at25c = { 2200, 2615 },
|
|
|
|
- .apm_report = palmte_get_power_status,
|
|
|
|
- .alsa_config = &palmte_alsa_config,
|
|
|
|
-};
|
|
|
|
-
|
|
|
|
static struct omap_board_config_kernel palmte_config[] __initdata = {
|
|
static struct omap_board_config_kernel palmte_config[] __initdata = {
|
|
{ OMAP_TAG_USB, &palmte_usb_config },
|
|
{ OMAP_TAG_USB, &palmte_usb_config },
|
|
{ OMAP_TAG_MMC, &palmte_mmc_config },
|
|
{ OMAP_TAG_MMC, &palmte_mmc_config },
|
|
@@ -336,7 +327,6 @@ static struct spi_board_info palmte_spi_info[] __initdata = {
|
|
.bus_num = 2, /* uWire (officially) */
|
|
.bus_num = 2, /* uWire (officially) */
|
|
.chip_select = 0, /* As opposed to 3 */
|
|
.chip_select = 0, /* As opposed to 3 */
|
|
.irq = OMAP_GPIO_IRQ(PALMTE_PINTDAV_GPIO),
|
|
.irq = OMAP_GPIO_IRQ(PALMTE_PINTDAV_GPIO),
|
|
- .platform_data = &palmte_tsc2102_config,
|
|
|
|
.max_speed_hz = 8000000,
|
|
.max_speed_hz = 8000000,
|
|
},
|
|
},
|
|
};
|
|
};
|