macintosh: Add const to of_device_id

struct of_device_id should normally be const.

Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211205130925.28389-1-wangxiang@cdjrlc.com
This commit is contained in:
Xiang wangx 2021-12-05 21:09:25 +08:00 committed by Michael Ellerman
parent 0d76914a4c
commit 8cffe0b0b6

View File

@ -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",