mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 20:33:49 -04:00
drm/xe/vsec: Address static checker issue
The callback structure should be static.
Add static attribute.
Fixes: 0c45e76fcc ("drm/xe/vsec: Support BMG devices")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202412050418.8ecQxYXj-lkp@intel.com/
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241205183649.3120032-1-michael.j.ruhl@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
This commit is contained in:
committed by
Rodrigo Vivi
parent
919c2b586f
commit
5cc1ccb61e
@@ -180,7 +180,7 @@ static int xe_pmt_telem_read(struct pci_dev *pdev, u32 guid, u64 *data, loff_t u
|
||||
return count;
|
||||
}
|
||||
|
||||
struct pmt_callbacks xe_pmt_cb = {
|
||||
static struct pmt_callbacks xe_pmt_cb = {
|
||||
.read_telem = xe_pmt_telem_read,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user