Date:2011-03-18 16:26:39 (11 years 6 months ago)
Author:Lars C.
Commit:b3f02bbf88c9c2c9eb8dcfdb08bfcfab7a45db3f
Message:MIPS: JZ4750: xz0032: Fix gpio-charger platform data

Files: arch/mips/jz47xx/jz4750/board-xz0032.c (3 diffs)

Change Details

arch/mips/jz47xx/jz4750/board-xz0032.c
157157    .type = POWER_SUPPLY_TYPE_USB,
158158    .gpio = JZ_GPIO_PORTD(16),
159159    .gpio_active_low = 0,
160    .batteries = xz0032_batteries,
161    .num_batteries = ARRAY_SIZE(xz0032_batteries),
160    .supplied_to = xz0032_batteries,
161    .num_supplicants = ARRAY_SIZE(xz0032_batteries),
162162};
163163
164164static struct platform_device xz0032_charger_device = {
...... 
236236};
237237
238238/* ADC buttons */
239#if 0
239240static struct jz_adc_button xz0032_adc_keys[] = {
240241    {
241242        .code = KEY_C,
...... 
269270    .rep = 1,
270271    .poll_interval = 50,
271272};
273#endif
272274
273275static struct platform_device *jz_platform_devices[] __initdata = {
274276    &jz4750_rtc_device,

Archive Download the corresponding diff file



interactive