From: Pavel Machek <pavel@denx.de>
To: johan@kernel.org, gregkh@linuxfoundation.org,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
linus.walleij@linaro.org, bgolaszewski@baylibre.com,
linux-gpio@vger.kernel.org, sfr@canb.auug.org.au
Subject: next-20190904: build failure in cp210x usb serial, gpio related?
Date: Sun, 8 Sep 2019 10:51:33 +0200 [thread overview]
Message-ID: <20190908085133.GA7233@amd> (raw)
[-- Attachment #1: Type: text/plain, Size: 1690 bytes --]
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
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
next reply other threads:[~2019-09-08 8:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-08 8:51 Pavel Machek [this message]
2019-09-10 10:25 ` next-20190904: build failure in cp210x usb serial, gpio related? Linus Walleij
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190908085133.GA7233@amd \
--to=pavel@denx.de \
--cc=bgolaszewski@baylibre.com \
--cc=gregkh@linuxfoundation.org \
--cc=johan@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=sfr@canb.auug.org.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.