mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 00:41:17 +00:00
793f8ab62c
Add kernel patches for version 6.1. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
24 lines
758 B
Diff
24 lines
758 B
Diff
From cb8f89d446f8d204f0dbcd968bf27b0415c835ab Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.com>
|
|
Date: Mon, 6 Mar 2023 20:56:08 +0000
|
|
Subject: [PATCH] mfd: arizona-i2c: Declare of MODULE_DEVICE_TABLE
|
|
|
|
Without a MODULE_DEVICE_TABLE declare for the of_device_ids, the
|
|
compatible strings won't be turned into module aliases.
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
|
---
|
|
drivers/mfd/arizona-i2c.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- a/drivers/mfd/arizona-i2c.c
|
|
+++ b/drivers/mfd/arizona-i2c.c
|
|
@@ -112,6 +112,7 @@ static const struct of_device_id arizona
|
|
{ .compatible = "wlf,wm1814", .data = (void *)WM1814 },
|
|
{},
|
|
};
|
|
+MODULE_DEVICE_TABLE(of, arizona_i2c_of_match);
|
|
#endif
|
|
|
|
static struct i2c_driver arizona_i2c_driver = {
|