From: Xiang wangx Date: Sun, 5 Dec 2021 13:09:25 +0000 (+0800) Subject: macintosh: Add const to of_device_id X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8cffe0b0b6b3342d75e5469f07496173feace6bc;p=linux.git macintosh: Add const to of_device_id struct of_device_id should normally be const. Signed-off-by: Xiang wangx Signed-off-by: Michael Ellerman Link: https://lore.kernel.org/r/20211205130925.28389-1-wangxiang@cdjrlc.com --- diff --git a/drivers/macintosh/mediabay.c b/drivers/macintosh/mediabay.c index eab7e83c11c4f..b17660c022eb2 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",