[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211205130925.28389-1-wangxiang@cdjrlc.com>
Date: Sun, 5 Dec 2021 21:09:25 +0800
From: Xiang wangx <wangxiang@...rlc.com>
To: benh@...nel.crashing.org
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
Xiang wangx <wangxiang@...rlc.com>
Subject: [PATCH] macintosh:add const to of_device_id
struct of_device_id should normally be const
Signed-off-by: Xiang wangx <wangxiang@...rlc.com>
---
drivers/macintosh/mediabay.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/macintosh/mediabay.c b/drivers/macintosh/mediabay.c
index eab7e83c11c4..b17660c022eb 100644
--- a/drivers/macintosh/mediabay.c
+++ b/drivers/macintosh/mediabay.c
@@ -703,7 +703,7 @@ static const struct mb_ops keylargo_mb_ops = {
* Therefore we do it all by polling the media bay once each tick.
*/
-static struct of_device_id media_bay_match[] =
+static const struct of_device_id media_bay_match[] =
{
{
.name = "media-bay",
--
2.20.1
Powered by blists - more mailing lists