lkml.org 
[lkml]   [2019]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectnext-20190904: build failure in cp210x usb serial, gpio related?
Hi!

I'm getting this compiling the -next:

CC drivers/net/wireless/intel/iwlwifi/mvm/mac80211.o
In file included from drivers/usb/serial/cp210x.c:23:
./include/linux/gpio/driver.h:722:19: error: static declaration of
‘gpiochip_lock_as_irq’ follows non-static declaration
722 | static inline int gpiochip_lock_as_irq(struct gpio_chip
*chip,
| ^~~~~~~~~~~~~~~~~~~~
./include/linux/gpio/driver.h:706:5: note: previous
declaration of ‘gpiochip_lock_as_irq’ was here
706 | int gpiochip_lock_as_irq(struct gpio_chip *chip, unsigned
int offset);
| ^~~~~~~~~~~~~~~~~~~~
./include/linux/gpio/driver.h:729:20: error: static
declaration of ‘gpiochip_unlock_as_irq’ follows non-static
declaration
729 | static inline void gpiochip_unlock_as_irq(struct gpio_chip
*chip,
| ^~~~~~~~~~~~~~~~~~~~~~
./include/linux/gpio/driver.h:707:6: note: previous
declaration of ‘gpiochip_unlock_as_irq’ was here
707 | void gpiochip_unlock_as_irq(struct gpio_chip *chip, unsigned
int offset);
| ^~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:265:
drivers/usb/serial/cp210x.o] Error 1
make[2]: *** [scripts/Makefile.build:509: drivers/usb/serial] Error
2
make[2]: *** Waiting for unfinished jobs....
CC drivers/gpu/drm/ttm/ttm_page_alloc.o
AR drivers/usb/storage/built-in.a


Sounds like some fixes are needed in gpio headers?

Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2019-09-08 10:52    [W:0.051 / U:1.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site