linux-stable/drivers/staging
Arnd Bergmann 814015e0ae greybus: arche-ctrl: move device table to its right location
[ Upstream commit 6a0b8c0da8 ]

The arche-ctrl has two platform drivers and three of_device_id tables,
but one table is only used for the the module loader, while the other
two seem to be associated with their drivers.

This leads to a W=1 warning when the driver is built-in:

drivers/staging/greybus/arche-platform.c:623:34: error: 'arche_combined_id' defined but not used [-Werror=unused-const-variable=]
  623 | static const struct of_device_id arche_combined_id[] = {

Drop the extra table and register both tables that are actually
used as the ones for the module loader instead.

Fixes: 7b62b61c75 ("greybus: arche-ctrl: Don't expose driver internals to arche-platform driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20240403080702.3509288-18-arnd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-06-12 11:39:09 +02:00
..
axis-fifo staging: axis-fifo: Use sysfs_emit() 2024-02-17 17:29:05 +01:00
fbtft Staging driver cleanups for 6.9-rc1 2024-03-21 13:03:44 -07:00
fieldbus Staging driver cleanups for 6.9-rc1 2024-03-21 13:03:44 -07:00
gdm724x staging: gdm724x: constantify the struct device_type usage 2024-02-17 17:30:35 +01:00
greybus greybus: arche-ctrl: move device table to its right location 2024-06-12 11:39:09 +02:00
iio staging: iio: ad5933: fix type mismatch regression 2024-01-27 16:00:02 +00:00
ks7010
media media: atomisp: ssh_css: Fix a null-pointer dereference in load_video_binaries 2024-05-30 09:44:49 +02:00
most
nvec staging/nvec: update TODO 2024-02-19 09:46:59 +01:00
octeon Staging: octeon: Match parenthesis alignment 2024-03-05 14:03:15 +00:00
olpc_dcon staging: olpc_dcon: Remove I2C_CLASS_DDC support 2023-10-27 13:10:05 +02:00
pi433 staging: pi433: Move FIFO_THRESHOLD define to source file 2024-03-05 14:11:26 +00:00
rtl8192e Staging: rtl8192e: Rename function GetHalfNmodeSupportByAPsHandler() 2024-03-05 14:15:48 +00:00
rtl8712 staging: rtl8712: fix open parentheses alignment 2023-12-23 14:09:31 +01:00
rtl8723bs staging: rtl8723bs: remove redundant variable hoffset 2024-03-05 14:05:17 +00:00
rts5208
sm750fb video/nomodeset: Select nomodeset= parameter with CONFIG_VIDEO 2024-01-23 10:11:38 +01:00
vc04_services staging: vc04_services: fix information leak in create_component() 2024-03-25 19:10:01 +01:00
vme_user staging: vme_user: Fix misaligned closing comment */ 2024-03-05 14:13:30 +00:00
vt6655 Staging driver cleanups for 6.9-rc1 2024-03-21 13:03:44 -07:00
vt6656 wifi: mac80211: introduce 'channel request' 2024-02-08 13:07:34 +01:00
wlan-ng staging: wlan-ng: remove function prism2sta_ev_txexc 2023-10-17 15:43:52 +02:00
Kconfig staging: Remove board staging code 2024-01-24 10:20:27 -08:00
Makefile staging: Remove board staging code 2024-01-24 10:20:27 -08:00