Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit caccdcc5 authored by Wolfram Sang's avatar Wolfram Sang
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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",