summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-07-04 01:59:51 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2023-07-04 01:59:51 +0200
commit6afb24a0fe7294f004ee6c43b10251ff86218d56 (patch)
treedd62fb354c4a978794be8de11ee3c5e340964f4a /drivers
parentrdma: fix INFINIBAND_USER_ACCESS dependency (diff)
parenthwspinlock: omap: drop of_match_ptr for ID table (diff)
downloadlinux-6afb24a0fe7294f004ee6c43b10251ff86218d56.tar.xz
linux-6afb24a0fe7294f004ee6c43b10251ff86218d56.zip
Merge tag 'hwlock-v6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux
Pull hwspinlock update from Bjorn Andersson: "This drops the last of_match_ptr() from the hwspinlock drivers, solving the resulting 'defined but not used' warning/error" * tag 'hwlock-v6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux: hwspinlock: omap: drop of_match_ptr for ID table
Diffstat (limited to 'drivers')
-rw-r--r--drivers/hwspinlock/omap_hwspinlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwspinlock/omap_hwspinlock.c b/drivers/hwspinlock/omap_hwspinlock.c
index 1fb3a2550e29..dfe82952671b 100644
--- a/drivers/hwspinlock/omap_hwspinlock.c
+++ b/drivers/hwspinlock/omap_hwspinlock.c
@@ -174,7 +174,7 @@ static struct platform_driver omap_hwspinlock_driver = {
.remove = omap_hwspinlock_remove,
.driver = {
.name = "omap_hwspinlock",
- .of_match_table = of_match_ptr(omap_hwspinlock_of_match),
+ .of_match_table = omap_hwspinlock_of_match,
},
};