summaryrefslogtreecommitdiff
path: root/drivers/nfc/s3fwrn5/i2c.c
diff options
context:
space:
mode:
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>2026-07-03 17:46:21 +0200
committerDavid Heidelberg <david@ixit.cz>2026-08-11 18:14:00 +0200
commit777fd2dab44601ea7f59a104e9553e3eb7329782 (patch)
tree7eed9b55f2b3ebe49f4be2faf1c759188738ed5e /drivers/nfc/s3fwrn5/i2c.c
parent15aa65539aa768c7acd9ae3a845df305caa72688 (diff)
downloadlinux-next-777fd2dab44601ea7f59a104e9553e3eb7329782.tar.gz
linux-next-777fd2dab44601ea7f59a104e9553e3eb7329782.zip
nfc: Drop __maybe_unused from of_device_id tables
Referencing these arrays in MODULE_DEVICE_TABLE() is enough to convince the compiler that they are used even if the drivers are built-in (since 5ab23c7923a1 ("modpost: Create modalias for builtin modules"). So the __maybe_unused marking can be removed without introducing a compiler warning. Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com> Link: https://patch.msgid.link/031ea0ae38838df3261f844eb13e9841769b49a7.1783091699.git.u.kleine-koenig@baylibre.com Signed-off-by: David Heidelberg <david@ixit.cz>
Diffstat (limited to 'drivers/nfc/s3fwrn5/i2c.c')
-rw-r--r--drivers/nfc/s3fwrn5/i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nfc/s3fwrn5/i2c.c b/drivers/nfc/s3fwrn5/i2c.c
index e9a34d27a369..499301a6fa3f 100644
--- a/drivers/nfc/s3fwrn5/i2c.c
+++ b/drivers/nfc/s3fwrn5/i2c.c
@@ -210,7 +210,7 @@ static const struct i2c_device_id s3fwrn5_i2c_id_table[] = {
};
MODULE_DEVICE_TABLE(i2c, s3fwrn5_i2c_id_table);
-static const struct of_device_id of_s3fwrn5_i2c_match[] __maybe_unused = {
+static const struct of_device_id of_s3fwrn5_i2c_match[] = {
{ .compatible = "samsung,s3fwrn5-i2c", },
{}
};