Re: [PATCH v2 6/6] usb: bcma: fix setting VCC GPIO value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Rafał,

[auto build test ERROR on usb/usb-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url:    https://github.com/0day-ci/linux/commits/Hauke-Mehrtens/usb-bcma-add-USB-3-0-support/20151019-050806
config: x86_64-randconfig-s3-10190655 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/usb/host/bcma-hcd.c: In function 'bcma_hci_platform_power_gpio':
>> drivers/usb/host/bcma-hcd.c:249:3: error: implicit declaration of function 'gpiod_set_value' [-Werror=implicit-function-declaration]
      gpiod_set_value(gpio_to_desc(gpio), 0);
      ^
>> drivers/usb/host/bcma-hcd.c:249:19: error: implicit declaration of function 'gpio_to_desc' [-Werror=implicit-function-declaration]
      gpiod_set_value(gpio_to_desc(gpio), 0);
                      ^
   cc1: some warnings being treated as errors

vim +/gpiod_set_value +249 drivers/usb/host/bcma-hcd.c

   243			bool active_low = !!(of_flags & OF_GPIO_ACTIVE_LOW);
   244	
   245			flags |= active_low ? GPIOF_ACTIVE_LOW : 0;
   246			flags |= active_low ? GPIOF_INIT_LOW : GPIOF_INIT_HIGH;
   247			gpio_request_one(gpio, flags, "bcma-hcd-gpio");
   248		} else {
 > 249			gpiod_set_value(gpio_to_desc(gpio), 0);
   250			gpio_free(gpio);
   251		}
   252	}

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux