Commit 8cffe0b0 authored by Xiang wangx's avatar Xiang wangx Committed by Michael Ellerman

macintosh: Add const to of_device_id

struct of_device_id should normally be const.
Signed-off-by: default avatarXiang wangx <wangxiang@cdjrlc.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211205130925.28389-1-wangxiang@cdjrlc.com
parent 0d76914a
......@@ -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",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment