Skip to content

Commit

Permalink
i2c: nvidia-gpu: make pm_ops static
Browse files Browse the repository at this point in the history
sparse rightfully says:

warning: symbol 'gpu_i2c_driver_pm' was not declared. Should it be static?

Signed-off-by: Wolfram Sang <[email protected]>
  • Loading branch information
Wolfram Sang committed Nov 9, 2018
1 parent c71bcdc commit caccdcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/i2c/busses/i2c-nvidia-gpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit caccdcc

Please sign in to comment.