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

From: Randy Dunlap <[email-masked]>
Date: Fri, 10 Apr 2015 10:23:40 -0700

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