linux-stable/drivers
Paul Gazzillo d48f6a5784 iio: light: rpr0521: add missing Kconfig dependencies
[ Upstream commit 6ac1230357 ]

Fix an implicit declaration of function error for rpr0521 under some configs

When CONFIG_RPR0521 is enabled without CONFIG_IIO_TRIGGERED_BUFFER,
the build results in "implicit declaration of function" errors, e.g.,
  drivers/iio/light/rpr0521.c:434:3: error: implicit declaration of function
           'iio_trigger_poll_chained' [-Werror=implicit-function-declaration]
    434 |   iio_trigger_poll_chained(data->drdy_trigger0);
        |   ^~~~~~~~~~~~~~~~~~~~~~~~

This fix adds select dependencies to RPR0521's configuration declaration.

Fixes: e12ffd241c ("iio: light: rpr0521 triggered buffer")
Signed-off-by: Paul Gazzillo <paul@pgazz.com>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=216678
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20221110214729.ls5ixav5kxpeftk7@device
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-08 11:23:54 +01:00
..
accessibility
acpi
amba
android binder: Gracefully handle BINDER_TYPE_FDA objects with num_fds=0 2022-12-02 17:40:04 +01:00
ata
atm
auxdisplay
base
bcma
block
bluetooth
bus
cdrom
char
clk
clocksource
connector
counter
cpufreq
cpuidle
crypto
dax
dca
devfreq
dio
dma
dma-buf dma-buf: fix racing conflict of dma_heap_add() 2022-12-02 17:40:01 +01:00
edac
eisa
extcon
firewire
firmware
fpga
fsi
gnss
gpio
gpu drm/amdgpu: Partially revert "drm/amdgpu: update drm_display_info correctly when the edid is read" 2022-12-08 11:23:54 +01:00
greybus
hid
hsi
hv Drivers: hv: vmbus: fix possible memory leak in vmbus_device_register() 2022-12-02 17:40:00 +01:00
hwmon
hwspinlock
hwtracing
i2c
i3c
ide
idle
iio iio: light: rpr0521: add missing Kconfig dependencies 2022-12-08 11:23:54 +01:00
infiniband
input Input: soc_button_array - add Acer Switch V 10 to dmi_use_low_level_irq[] 2022-12-02 17:40:05 +01:00
interconnect
iommu
ipack
irqchip irqchip/gic-v3: Always trust the managed affinity provided by the core code 2022-12-02 17:40:06 +01:00
isdn
leds
lightnvm
macintosh
mailbox
mcb
md dm integrity: clear the journal on suspend 2022-12-02 17:40:05 +01:00
media
memory
memstick
message
mfd
misc
mmc mmc: sdhci-brcmstb: Fix SDHCI_RESET_ALL for CQHCI 2022-12-02 17:40:03 +01:00
most
mtd
mux
net wifi: wilc1000: validate number of channels 2022-12-02 17:40:06 +01:00
nfc nfc: st-nci: fix memory leaks in EVT_TRANSACTION 2022-12-02 17:40:02 +01:00
ntb
nubus
nvdimm
nvme
nvmem
of
opp
oprofile
parisc
parport
pci
pcmcia
perf
phy
pinctrl
platform platform/x86: hp-wmi: Ignore Smart Experience App event 2022-12-02 17:40:05 +01:00
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator regulator: twl6030: re-add TWL6032_SUBCLASS 2022-12-02 17:40:01 +01:00
remoteproc
reset
rpmsg
rtc
s390 s390/dasd: fix no record found for raw_track_access 2022-12-02 17:40:02 +01:00
sbus
scsi
sfi
sh
siox
slimbus
soc
soundwire
spi spi: spi-imx: Fix spi_bus_clk if requested clock is higher than input clock 2022-12-08 11:23:54 +01:00
spmi
ssb
staging
target
tc
tee
thermal
thunderbolt
tty serial: 8250: 8250_omap: Avoid RS485 RTS glitch on ->set_termios() 2022-12-02 17:40:05 +01:00
uio
usb usb: dwc3: gadget: Clear ep descriptor last 2022-12-02 17:40:04 +01:00
vdpa
vfio
vhost
video
virt
virtio
visorbus
vlynq
vme
w1
watchdog
xen xen/platform-pci: add missing free_irq() in error path 2022-12-02 17:40:05 +01:00
zorro
Kconfig
Makefile