[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210228082913.GA27151@amd>
Date: Sun, 28 Feb 2021 09:29:13 +0100
From: Pavel Machek <pavel@....cz>
To: kernel test robot <lkp@...el.com>, linux-leds@...r.kernel.org
Cc: Amireddy Mallikarjuna reddy <mallikarjunax.reddy@...ux.intel.com>,
kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
linux-kernel@...r.kernel.org
Subject: Re: drivers/leds/blink/leds-lgm-sso.c:123:19: error: field has
incomplete type 'struct gpio_chip'
Hi!
> >> drivers/leds/blink/leds-lgm-sso.c:263:3: error: implicit declaration of function 'gpiod_set_value' [-Werror,-Wimplicit-function-declaration]
> gpiod_set_value(led->gpiod, val);
> ^
> drivers/leds/blink/leds-lgm-sso.c:263:3: note: did you mean
> 'gpio_set_value'?
It looks like missing #include?
While at it, can you do something with Kconfig help text? Move
existing one into comment in the driver, add something useful for end-users.
Thank you,
Pavel
--
http://www.livejournal.com/~pavelmachek
Download attachment "signature.asc" of type "application/pgp-signature" (182 bytes)
Powered by blists - more mailing lists