1 --- kernel-maemo-2.6.28.orig/drivers/power/bq27x00_battery.c
2 +++ kernel-maemo-2.6.28/drivers/power/bq27x00_battery.c
4 .id_table = bq27200_id,
7 +struct bq27200_platform_data {
11 +static struct bq27200_platform_data bq27200_config = {
15 +static struct i2c_board_info rx51_camera_board_info_2 =
17 + I2C_BOARD_INFO("bq27200", 0x55),
18 + .platform_data = &bq27200_config,
21 +static struct i2c_client *client;
23 static int __init bq27x00_battery_init(void)
27 ret = i2c_add_driver(&bq27200_battery_driver);
29 printk(KERN_ERR "Unable to register BQ27200 driver\n");
30 + client = i2c_new_device(i2c_get_adapter(2), &rx51_camera_board_info_2);