Skip to content

Commit caccdcc

Browse files
author
Wolfram Sang
committed
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>
1 parent c71bcdc commit caccdcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/i2c/busses/i2c-nvidia-gpu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ static int gpu_i2c_resume(struct device *dev)
349349
return 0;
350350
}
351351

352-
UNIVERSAL_DEV_PM_OPS(gpu_i2c_driver_pm, NULL, gpu_i2c_resume, NULL);
352+
static UNIVERSAL_DEV_PM_OPS(gpu_i2c_driver_pm, NULL, gpu_i2c_resume, NULL);
353353

354354
static struct pci_driver gpu_i2c_driver = {
355355
.name = "nvidia-gpu",

0 commit comments

Comments
 (0)