diff options
-rw-r--r-- | arch/arm/mach-pxa/mioa701.c | 10 | ||||
-rw-r--r-- | arch/arm/mach-pxa/palmld.c | 19 | ||||
-rw-r--r-- | arch/arm/mach-pxa/palmt5.c | 19 | ||||
-rw-r--r-- | arch/arm/mach-pxa/palmte2.c | 20 | ||||
-rw-r--r-- | arch/arm/mach-pxa/palmtreo.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-pxa/palmtx.c | 19 | ||||
-rw-r--r-- | arch/arm/mach-pxa/palmz72.c | 20 |
7 files changed, 61 insertions, 47 deletions
diff --git a/arch/arm/mach-pxa/mioa701.c b/arch/arm/mach-pxa/mioa701.c index fa6a708b4099..dc66942ef9ab 100644 --- a/arch/arm/mach-pxa/mioa701.c +++ b/arch/arm/mach-pxa/mioa701.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <linux/irq.h> | 34 | #include <linux/irq.h> |
35 | #include <linux/pda_power.h> | 35 | #include <linux/pda_power.h> |
36 | #include <linux/power_supply.h> | 36 | #include <linux/power_supply.h> |
37 | #include <linux/wm97xx_batt.h> | 37 | #include <linux/wm97xx.h> |
38 | #include <linux/mtd/physmap.h> | 38 | #include <linux/mtd/physmap.h> |
39 | #include <linux/usb/gpio_vbus.h> | 39 | #include <linux/usb/gpio_vbus.h> |
40 | #include <linux/regulator/max1586.h> | 40 | #include <linux/regulator/max1586.h> |
@@ -636,7 +636,7 @@ static struct platform_device power_dev = { | |||
636 | }, | 636 | }, |
637 | }; | 637 | }; |
638 | 638 | ||
639 | static struct wm97xx_batt_info mioa701_battery_data = { | 639 | static struct wm97xx_batt_pdata mioa701_battery_data = { |
640 | .batt_aux = WM97XX_AUX_ID1, | 640 | .batt_aux = WM97XX_AUX_ID1, |
641 | .temp_aux = -1, | 641 | .temp_aux = -1, |
642 | .charge_gpio = -1, | 642 | .charge_gpio = -1, |
@@ -648,6 +648,10 @@ static struct wm97xx_batt_info mioa701_battery_data = { | |||
648 | .batt_name = "mioa701_battery", | 648 | .batt_name = "mioa701_battery", |
649 | }; | 649 | }; |
650 | 650 | ||
651 | static struct wm97xx_pdata mioa701_wm97xx_pdata = { | ||
652 | .batt_pdata = &mioa701_battery_data, | ||
653 | }; | ||
654 | |||
651 | /* | 655 | /* |
652 | * Voltage regulation | 656 | * Voltage regulation |
653 | */ | 657 | */ |
@@ -716,6 +720,7 @@ struct i2c_pxa_platform_data i2c_pdata = { | |||
716 | 720 | ||
717 | static pxa2xx_audio_ops_t mioa701_ac97_info = { | 721 | static pxa2xx_audio_ops_t mioa701_ac97_info = { |
718 | .reset_gpio = 95, | 722 | .reset_gpio = 95, |
723 | .codec_pdata = { &mioa701_wm97xx_pdata, }, | ||
719 | }; | 724 | }; |
720 | 725 | ||
721 | /* | 726 | /* |
@@ -794,7 +799,6 @@ static void __init mioa701_machine_init(void) | |||
794 | set_pxa_fb_info(&mioa701_pxafb_info); | 799 | set_pxa_fb_info(&mioa701_pxafb_info); |
795 | pxa_set_mci_info(&mioa701_mci_info); | 800 | pxa_set_mci_info(&mioa701_mci_info); |
796 | pxa_set_keypad_info(&mioa701_keypad_info); | 801 | pxa_set_keypad_info(&mioa701_keypad_info); |
797 | wm97xx_bat_set_pdata(&mioa701_battery_data); | ||
798 | pxa_set_udc_info(&mioa701_udc_info); | 802 | pxa_set_udc_info(&mioa701_udc_info); |
799 | pxa_set_ac97_info(&mioa701_ac97_info); | 803 | pxa_set_ac97_info(&mioa701_ac97_info); |
800 | pm_power_off = mioa701_poweroff; | 804 | pm_power_off = mioa701_poweroff; |
diff --git a/arch/arm/mach-pxa/palmld.c b/arch/arm/mach-pxa/palmld.c index 1963819dba98..83a1a552cce4 100644 --- a/arch/arm/mach-pxa/palmld.c +++ b/arch/arm/mach-pxa/palmld.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/pda_power.h> | 22 | #include <linux/pda_power.h> |
23 | #include <linux/pwm_backlight.h> | 23 | #include <linux/pwm_backlight.h> |
24 | #include <linux/gpio.h> | 24 | #include <linux/gpio.h> |
25 | #include <linux/wm97xx_batt.h> | 25 | #include <linux/wm97xx.h> |
26 | #include <linux/power_supply.h> | 26 | #include <linux/power_supply.h> |
27 | #include <linux/sysdev.h> | 27 | #include <linux/sysdev.h> |
28 | #include <linux/mtd/mtd.h> | 28 | #include <linux/mtd/mtd.h> |
@@ -387,9 +387,9 @@ static struct platform_device power_supply = { | |||
387 | }; | 387 | }; |
388 | 388 | ||
389 | /****************************************************************************** | 389 | /****************************************************************************** |
390 | * WM97xx battery | 390 | * WM97xx audio, battery |
391 | ******************************************************************************/ | 391 | ******************************************************************************/ |
392 | static struct wm97xx_batt_info wm97xx_batt_pdata = { | 392 | static struct wm97xx_batt_pdata palmld_batt_pdata = { |
393 | .batt_aux = WM97XX_AUX_ID3, | 393 | .batt_aux = WM97XX_AUX_ID3, |
394 | .temp_aux = WM97XX_AUX_ID2, | 394 | .temp_aux = WM97XX_AUX_ID2, |
395 | .charge_gpio = -1, | 395 | .charge_gpio = -1, |
@@ -403,15 +403,17 @@ static struct wm97xx_batt_info wm97xx_batt_pdata = { | |||
403 | .batt_name = "main-batt", | 403 | .batt_name = "main-batt", |
404 | }; | 404 | }; |
405 | 405 | ||
406 | /****************************************************************************** | 406 | static struct wm97xx_pdata palmld_wm97xx_pdata = { |
407 | * aSoC audio | 407 | .batt_pdata = &palmld_batt_pdata, |
408 | ******************************************************************************/ | ||
409 | static struct palm27x_asoc_info palmld_asoc_pdata = { | ||
410 | .jack_gpio = GPIO_NR_PALMLD_EARPHONE_DETECT, | ||
411 | }; | 408 | }; |
412 | 409 | ||
413 | static pxa2xx_audio_ops_t palmld_ac97_pdata = { | 410 | static pxa2xx_audio_ops_t palmld_ac97_pdata = { |
414 | .reset_gpio = 95, | 411 | .reset_gpio = 95, |
412 | .codec_pdata = { &palmld_wm97xx_pdata, }, | ||
413 | }; | ||
414 | |||
415 | static struct palm27x_asoc_info palmld_asoc_pdata = { | ||
416 | .jack_gpio = GPIO_NR_PALMLD_EARPHONE_DETECT, | ||
415 | }; | 417 | }; |
416 | 418 | ||
417 | static struct platform_device palmld_asoc = { | 419 | static struct platform_device palmld_asoc = { |
@@ -521,7 +523,6 @@ static void __init palmld_init(void) | |||
521 | pxa_set_ac97_info(&palmld_ac97_pdata); | 523 | pxa_set_ac97_info(&palmld_ac97_pdata); |
522 | pxa_set_ficp_info(&palmld_ficp_platform_data); | 524 | pxa_set_ficp_info(&palmld_ficp_platform_data); |
523 | pxa_set_keypad_info(&palmld_keypad_platform_data); | 525 | pxa_set_keypad_info(&palmld_keypad_platform_data); |
524 | wm97xx_bat_set_pdata(&wm97xx_batt_pdata); | ||
525 | 526 | ||
526 | platform_add_devices(devices, ARRAY_SIZE(devices)); | 527 | platform_add_devices(devices, ARRAY_SIZE(devices)); |
527 | } | 528 | } |
diff --git a/arch/arm/mach-pxa/palmt5.c b/arch/arm/mach-pxa/palmt5.c index 5305a3993e69..0b36d7ddff25 100644 --- a/arch/arm/mach-pxa/palmt5.c +++ b/arch/arm/mach-pxa/palmt5.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/pda_power.h> | 24 | #include <linux/pda_power.h> |
25 | #include <linux/pwm_backlight.h> | 25 | #include <linux/pwm_backlight.h> |
26 | #include <linux/gpio.h> | 26 | #include <linux/gpio.h> |
27 | #include <linux/wm97xx_batt.h> | 27 | #include <linux/wm97xx.h> |
28 | #include <linux/power_supply.h> | 28 | #include <linux/power_supply.h> |
29 | #include <linux/usb/gpio_vbus.h> | 29 | #include <linux/usb/gpio_vbus.h> |
30 | 30 | ||
@@ -298,9 +298,9 @@ static struct platform_device power_supply = { | |||
298 | }; | 298 | }; |
299 | 299 | ||
300 | /****************************************************************************** | 300 | /****************************************************************************** |
301 | * WM97xx battery | 301 | * WM97xx audio, battery |
302 | ******************************************************************************/ | 302 | ******************************************************************************/ |
303 | static struct wm97xx_batt_info wm97xx_batt_pdata = { | 303 | static struct wm97xx_batt_pdata palmt5_batt_pdata = { |
304 | .batt_aux = WM97XX_AUX_ID3, | 304 | .batt_aux = WM97XX_AUX_ID3, |
305 | .temp_aux = WM97XX_AUX_ID2, | 305 | .temp_aux = WM97XX_AUX_ID2, |
306 | .charge_gpio = -1, | 306 | .charge_gpio = -1, |
@@ -314,15 +314,17 @@ static struct wm97xx_batt_info wm97xx_batt_pdata = { | |||
314 | .batt_name = "main-batt", | 314 | .batt_name = "main-batt", |
315 | }; | 315 | }; |
316 | 316 | ||
317 | /****************************************************************************** | 317 | static struct wm97xx_pdata palmt5_wm97xx_pdata = { |
318 | * aSoC audio | 318 | .batt_pdata = &palmt5_batt_pdata, |
319 | ******************************************************************************/ | ||
320 | static struct palm27x_asoc_info palmt5_asoc_pdata = { | ||
321 | .jack_gpio = GPIO_NR_PALMT5_EARPHONE_DETECT, | ||
322 | }; | 319 | }; |
323 | 320 | ||
324 | static pxa2xx_audio_ops_t palmt5_ac97_pdata = { | 321 | static pxa2xx_audio_ops_t palmt5_ac97_pdata = { |
325 | .reset_gpio = 95, | 322 | .reset_gpio = 95, |
323 | .codec_pdata = { &palmt5_wm97xx_pdata, }, | ||
324 | }; | ||
325 | |||
326 | static struct palm27x_asoc_info palmt5_asoc_pdata = { | ||
327 | .jack_gpio = GPIO_NR_PALMT5_EARPHONE_DETECT, | ||
326 | }; | 328 | }; |
327 | 329 | ||
328 | static struct platform_device palmt5_asoc = { | 330 | static struct platform_device palmt5_asoc = { |
@@ -411,7 +413,6 @@ static void __init palmt5_init(void) | |||
411 | pxa_set_ac97_info(&palmt5_ac97_pdata); | 413 | pxa_set_ac97_info(&palmt5_ac97_pdata); |
412 | pxa_set_ficp_info(&palmt5_ficp_platform_data); | 414 | pxa_set_ficp_info(&palmt5_ficp_platform_data); |
413 | pxa_set_keypad_info(&palmt5_keypad_platform_data); | 415 | pxa_set_keypad_info(&palmt5_keypad_platform_data); |
414 | wm97xx_bat_set_pdata(&wm97xx_batt_pdata); | ||
415 | 416 | ||
416 | platform_add_devices(devices, ARRAY_SIZE(devices)); | 417 | platform_add_devices(devices, ARRAY_SIZE(devices)); |
417 | } | 418 | } |
diff --git a/arch/arm/mach-pxa/palmte2.c b/arch/arm/mach-pxa/palmte2.c index 3d284ff1a64e..93c11a0438d5 100644 --- a/arch/arm/mach-pxa/palmte2.c +++ b/arch/arm/mach-pxa/palmte2.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/pda_power.h> | 23 | #include <linux/pda_power.h> |
24 | #include <linux/pwm_backlight.h> | 24 | #include <linux/pwm_backlight.h> |
25 | #include <linux/gpio.h> | 25 | #include <linux/gpio.h> |
26 | #include <linux/wm97xx_batt.h> | 26 | #include <linux/wm97xx.h> |
27 | #include <linux/power_supply.h> | 27 | #include <linux/power_supply.h> |
28 | #include <linux/usb/gpio_vbus.h> | 28 | #include <linux/usb/gpio_vbus.h> |
29 | 29 | ||
@@ -271,9 +271,9 @@ static struct platform_device power_supply = { | |||
271 | }; | 271 | }; |
272 | 272 | ||
273 | /****************************************************************************** | 273 | /****************************************************************************** |
274 | * WM97xx battery | 274 | * WM97xx audio, battery |
275 | ******************************************************************************/ | 275 | ******************************************************************************/ |
276 | static struct wm97xx_batt_info wm97xx_batt_pdata = { | 276 | static struct wm97xx_batt_pdata palmte2_batt_pdata = { |
277 | .batt_aux = WM97XX_AUX_ID3, | 277 | .batt_aux = WM97XX_AUX_ID3, |
278 | .temp_aux = WM97XX_AUX_ID2, | 278 | .temp_aux = WM97XX_AUX_ID2, |
279 | .charge_gpio = -1, | 279 | .charge_gpio = -1, |
@@ -287,9 +287,14 @@ static struct wm97xx_batt_info wm97xx_batt_pdata = { | |||
287 | .batt_name = "main-batt", | 287 | .batt_name = "main-batt", |
288 | }; | 288 | }; |
289 | 289 | ||
290 | /****************************************************************************** | 290 | static struct wm97xx_pdata palmte2_wm97xx_pdata = { |
291 | * aSoC audio | 291 | .batt_pdata = &palmte2_batt_pdata, |
292 | ******************************************************************************/ | 292 | }; |
293 | |||
294 | static pxa2xx_audio_ops_t palmte2_ac97_pdata = { | ||
295 | .codec_pdata = { &palmte2_wm97xx_pdata, }, | ||
296 | }; | ||
297 | |||
293 | static struct palm27x_asoc_info palmte2_asoc_pdata = { | 298 | static struct palm27x_asoc_info palmte2_asoc_pdata = { |
294 | .jack_gpio = GPIO_NR_PALMTE2_EARPHONE_DETECT, | 299 | .jack_gpio = GPIO_NR_PALMTE2_EARPHONE_DETECT, |
295 | }; | 300 | }; |
@@ -361,9 +366,8 @@ static void __init palmte2_init(void) | |||
361 | set_pxa_fb_info(&palmte2_lcd_screen); | 366 | set_pxa_fb_info(&palmte2_lcd_screen); |
362 | pxa_set_mci_info(&palmte2_mci_platform_data); | 367 | pxa_set_mci_info(&palmte2_mci_platform_data); |
363 | palmte2_udc_init(); | 368 | palmte2_udc_init(); |
364 | pxa_set_ac97_info(NULL); | 369 | pxa_set_ac97_info(&palmte2_ac97_pdata); |
365 | pxa_set_ficp_info(&palmte2_ficp_platform_data); | 370 | pxa_set_ficp_info(&palmte2_ficp_platform_data); |
366 | wm97xx_bat_set_pdata(&wm97xx_batt_pdata); | ||
367 | 371 | ||
368 | platform_add_devices(devices, ARRAY_SIZE(devices)); | 372 | platform_add_devices(devices, ARRAY_SIZE(devices)); |
369 | } | 373 | } |
diff --git a/arch/arm/mach-pxa/palmtreo.c b/arch/arm/mach-pxa/palmtreo.c index d8b4469607a1..4eb0258675fb 100644 --- a/arch/arm/mach-pxa/palmtreo.c +++ b/arch/arm/mach-pxa/palmtreo.c | |||
@@ -23,7 +23,6 @@ | |||
23 | #include <linux/pda_power.h> | 23 | #include <linux/pda_power.h> |
24 | #include <linux/pwm_backlight.h> | 24 | #include <linux/pwm_backlight.h> |
25 | #include <linux/gpio.h> | 25 | #include <linux/gpio.h> |
26 | #include <linux/wm97xx_batt.h> | ||
27 | #include <linux/power_supply.h> | 26 | #include <linux/power_supply.h> |
28 | #include <linux/sysdev.h> | 27 | #include <linux/sysdev.h> |
29 | #include <linux/w1-gpio.h> | 28 | #include <linux/w1-gpio.h> |
diff --git a/arch/arm/mach-pxa/palmtx.c b/arch/arm/mach-pxa/palmtx.c index ecc1a401598e..a5429cdddad5 100644 --- a/arch/arm/mach-pxa/palmtx.c +++ b/arch/arm/mach-pxa/palmtx.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/pda_power.h> | 25 | #include <linux/pda_power.h> |
26 | #include <linux/pwm_backlight.h> | 26 | #include <linux/pwm_backlight.h> |
27 | #include <linux/gpio.h> | 27 | #include <linux/gpio.h> |
28 | #include <linux/wm97xx_batt.h> | 28 | #include <linux/wm97xx.h> |
29 | #include <linux/power_supply.h> | 29 | #include <linux/power_supply.h> |
30 | #include <linux/usb/gpio_vbus.h> | 30 | #include <linux/usb/gpio_vbus.h> |
31 | #include <linux/mtd/nand.h> | 31 | #include <linux/mtd/nand.h> |
@@ -359,9 +359,9 @@ static struct platform_device power_supply = { | |||
359 | }; | 359 | }; |
360 | 360 | ||
361 | /****************************************************************************** | 361 | /****************************************************************************** |
362 | * WM97xx battery | 362 | * WM97xx audio, battery |
363 | ******************************************************************************/ | 363 | ******************************************************************************/ |
364 | static struct wm97xx_batt_info wm97xx_batt_pdata = { | 364 | static struct wm97xx_batt_pdata palmtx_batt_pdata = { |
365 | .batt_aux = WM97XX_AUX_ID3, | 365 | .batt_aux = WM97XX_AUX_ID3, |
366 | .temp_aux = WM97XX_AUX_ID2, | 366 | .temp_aux = WM97XX_AUX_ID2, |
367 | .charge_gpio = -1, | 367 | .charge_gpio = -1, |
@@ -375,15 +375,17 @@ static struct wm97xx_batt_info wm97xx_batt_pdata = { | |||
375 | .batt_name = "main-batt", | 375 | .batt_name = "main-batt", |
376 | }; | 376 | }; |
377 | 377 | ||
378 | /****************************************************************************** | 378 | static struct wm97xx_pdata palmtx_wm97xx_pdata = { |
379 | * aSoC audio | 379 | .batt_pdata = &palmtx_batt_pdata, |
380 | ******************************************************************************/ | ||
381 | static struct palm27x_asoc_info palmtx_asoc_pdata = { | ||
382 | .jack_gpio = GPIO_NR_PALMTX_EARPHONE_DETECT, | ||
383 | }; | 380 | }; |
384 | 381 | ||
385 | static pxa2xx_audio_ops_t palmtx_ac97_pdata = { | 382 | static pxa2xx_audio_ops_t palmtx_ac97_pdata = { |
386 | .reset_gpio = 95, | 383 | .reset_gpio = 95, |
384 | .codec_pdata = { &palmtx_wm97xx_pdata, }, | ||
385 | }; | ||
386 | |||
387 | static struct palm27x_asoc_info palmtx_asoc_pdata = { | ||
388 | .jack_gpio = GPIO_NR_PALMTX_EARPHONE_DETECT, | ||
387 | }; | 389 | }; |
388 | 390 | ||
389 | static struct platform_device palmtx_asoc = { | 391 | static struct platform_device palmtx_asoc = { |
@@ -562,7 +564,6 @@ static void __init palmtx_init(void) | |||
562 | pxa_set_ac97_info(&palmtx_ac97_pdata); | 564 | pxa_set_ac97_info(&palmtx_ac97_pdata); |
563 | pxa_set_ficp_info(&palmtx_ficp_platform_data); | 565 | pxa_set_ficp_info(&palmtx_ficp_platform_data); |
564 | pxa_set_keypad_info(&palmtx_keypad_platform_data); | 566 | pxa_set_keypad_info(&palmtx_keypad_platform_data); |
565 | wm97xx_bat_set_pdata(&wm97xx_batt_pdata); | ||
566 | 567 | ||
567 | platform_add_devices(devices, ARRAY_SIZE(devices)); | 568 | platform_add_devices(devices, ARRAY_SIZE(devices)); |
568 | } | 569 | } |
diff --git a/arch/arm/mach-pxa/palmz72.c b/arch/arm/mach-pxa/palmz72.c index 3a7925ca3944..b78c6b4625e8 100644 --- a/arch/arm/mach-pxa/palmz72.c +++ b/arch/arm/mach-pxa/palmz72.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <linux/pda_power.h> | 27 | #include <linux/pda_power.h> |
28 | #include <linux/pwm_backlight.h> | 28 | #include <linux/pwm_backlight.h> |
29 | #include <linux/gpio.h> | 29 | #include <linux/gpio.h> |
30 | #include <linux/wm97xx_batt.h> | 30 | #include <linux/wm97xx.h> |
31 | #include <linux/power_supply.h> | 31 | #include <linux/power_supply.h> |
32 | #include <linux/usb/gpio_vbus.h> | 32 | #include <linux/usb/gpio_vbus.h> |
33 | 33 | ||
@@ -325,9 +325,9 @@ static struct platform_device power_supply = { | |||
325 | }; | 325 | }; |
326 | 326 | ||
327 | /****************************************************************************** | 327 | /****************************************************************************** |
328 | * WM97xx battery | 328 | * WM97xx audio, battery |
329 | ******************************************************************************/ | 329 | ******************************************************************************/ |
330 | static struct wm97xx_batt_info wm97xx_batt_pdata = { | 330 | static struct wm97xx_batt_pdata palmz72_batt_pdata = { |
331 | .batt_aux = WM97XX_AUX_ID3, | 331 | .batt_aux = WM97XX_AUX_ID3, |
332 | .temp_aux = WM97XX_AUX_ID2, | 332 | .temp_aux = WM97XX_AUX_ID2, |
333 | .charge_gpio = -1, | 333 | .charge_gpio = -1, |
@@ -341,9 +341,14 @@ static struct wm97xx_batt_info wm97xx_batt_pdata = { | |||
341 | .batt_name = "main-batt", | 341 | .batt_name = "main-batt", |
342 | }; | 342 | }; |
343 | 343 | ||
344 | /****************************************************************************** | 344 | static struct wm97xx_pdata palmz72_wm97xx_pdata = { |
345 | * aSoC audio | 345 | .batt_pdata = &palmz72_batt_pdata, |
346 | ******************************************************************************/ | 346 | }; |
347 | |||
348 | static pxa2xx_audio_ops_t palmz72_ac97_pdata = { | ||
349 | .codec_pdata = { &palmz72_wm97xx_pdata, }, | ||
350 | }; | ||
351 | |||
347 | static struct platform_device palmz72_asoc = { | 352 | static struct platform_device palmz72_asoc = { |
348 | .name = "palm27x-asoc", | 353 | .name = "palm27x-asoc", |
349 | .id = -1, | 354 | .id = -1, |
@@ -480,10 +485,9 @@ static void __init palmz72_init(void) | |||
480 | set_pxa_fb_info(&palmz72_lcd_screen); | 485 | set_pxa_fb_info(&palmz72_lcd_screen); |
481 | pxa_set_mci_info(&palmz72_mci_platform_data); | 486 | pxa_set_mci_info(&palmz72_mci_platform_data); |
482 | palmz72_udc_init(); | 487 | palmz72_udc_init(); |
483 | pxa_set_ac97_info(NULL); | 488 | pxa_set_ac97_info(&palmz72_ac97_pdata); |
484 | pxa_set_ficp_info(&palmz72_ficp_platform_data); | 489 | pxa_set_ficp_info(&palmz72_ficp_platform_data); |
485 | pxa_set_keypad_info(&palmz72_keypad_platform_data); | 490 | pxa_set_keypad_info(&palmz72_keypad_platform_data); |
486 | wm97xx_bat_set_pdata(&wm97xx_batt_pdata); | ||
487 | 491 | ||
488 | platform_add_devices(devices, ARRAY_SIZE(devices)); | 492 | platform_add_devices(devices, ARRAY_SIZE(devices)); |
489 | } | 493 | } |