Commit caccdcc5 authored by Wolfram Sang's avatar Wolfram Sang

i2c: nvidia-gpu: make pm_ops static

sparse rightfully says:

warning: symbol 'gpu_i2c_driver_pm' was not declared. Should it be static?
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent c71bcdcb
...@@ -349,7 +349,7 @@ static int gpu_i2c_resume(struct device *dev) ...@@ -349,7 +349,7 @@ static int gpu_i2c_resume(struct device *dev)
return 0; return 0;
} }
UNIVERSAL_DEV_PM_OPS(gpu_i2c_driver_pm, NULL, gpu_i2c_resume, NULL); static UNIVERSAL_DEV_PM_OPS(gpu_i2c_driver_pm, NULL, gpu_i2c_resume, NULL);
static struct pci_driver gpu_i2c_driver = { static struct pci_driver gpu_i2c_driver = {
.name = "nvidia-gpu", .name = "nvidia-gpu",
......
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