Re: linux-next: Tree for Apr 10 (media/i2c/adp1653)

From: Randy Dunlap
Date: Fri Apr 10 2015 - 13:25:31 EST


[change email address for maintainer]

On 04/10/15 10:23, Randy Dunlap wrote:
> On 04/10/15 04:18, Stephen Rothwell wrote:
>> Hi all,
>>
>> Changes since 20150409:
>>
>
> on i386:
>
> CC [M] drivers/media/i2c/adp1653.o
> ../drivers/media/i2c/adp1653.c: In function '__adp1653_set_power':
> ../drivers/media/i2c/adp1653.c:317:38: error: 'struct adp1653_platform_data' has no member named 'power_gpio'
> gpio_set_value(flash->platform_data->power_gpio, on);
> ^
> ../drivers/media/i2c/adp1653.c:336:38: error: 'struct adp1653_platform_data' has no member named 'power_gpio'
> gpio_set_value(flash->platform_data->power_gpio, 0);
> ^
> ../drivers/media/i2c/adp1653.c: In function 'adp1653_of_init':
> ../drivers/media/i2c/adp1653.c:471:4: error: 'struct adp1653_platform_data' has no member named 'power_gpio'
> pd->power_gpio = of_get_gpio_flags(node, 0, &flags);
> ^
> ../drivers/media/i2c/adp1653.c:472:8: error: 'struct adp1653_platform_data' has no member named 'power_gpio'
> if (pd->power_gpio < 0) {
> ^
> ../drivers/media/i2c/adp1653.c:433:6: warning: unused variable 'gpio' [-Wunused-variable]
> int gpio;
> ^
>
>
>


--
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/