mailbox: mtk-gpueb: Add missing 'static' to mailbox ops struct
authorNicolas Frattaroli <nicolas.frattaroli@collabora.com>
Mon, 13 Oct 2025 08:09:01 +0000 (10:09 +0200)
committerJassi Brar <jassisinghbrar@gmail.com>
Fri, 28 Nov 2025 15:31:53 +0000 (09:31 -0600)
commit094b53ecaa3ef227f9c800f8de90a9b44f1c1bb4
treed42011d4945d70f78c613f5d14e4f60b7ff92c30
parenta195c7ccfb7a21b8118139835e25936ec8722596
mailbox: mtk-gpueb: Add missing 'static' to mailbox ops struct

mtk_gpueb_mbox_ops should be declared static. However, due to its const
nature, this specifier was missed, as it compiled fine without it and
with no warning by the compiler.

arc-linux-gcc (GCC) 12.5.0 doesn't seem to like it however, so add the
static to fix that.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202510100629.3nGvrhEU-lkp@intel.com/
Fixes: dbca0eabb821 ("mailbox: add MediaTek GPUEB IPI mailbox")
Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
drivers/mailbox/mtk-gpueb-mailbox.c