mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 15:11:31 +00:00
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: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
parent
c71bcdcb42
commit
caccdcc5db
@ -349,7 +349,7 @@ static int gpu_i2c_resume(struct device *dev)
|
||||
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 = {
|
||||
.name = "nvidia-gpu",
|
||||
|
Loading…
Reference in New Issue
Block a user