summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2018-11-09 19:54:38 +0300
committerWolfram Sang <wsa@the-dreams.de>2018-11-09 19:56:44 +0300
commitcaccdcc5dbec0dd9643fe1667893e78631a4d38e (patch)
tree396c01730f550b90b9559622362fb093024f1219
parentc71bcdcb42a7493348d3b45dee8139843bf45efc (diff)
downloadlinux-caccdcc5dbec0dd9643fe1667893e78631a4d38e.tar.xz
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>
-rw-r--r--drivers/i2c/busses/i2c-nvidia-gpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-nvidia-gpu.c b/drivers/i2c/busses/i2c-nvidia-gpu.c
index 744f5e42636b..8822357bca0c 100644
--- a/drivers/i2c/busses/i2c-nvidia-gpu.c
+++ b/drivers/i2c/busses/i2c-nvidia-gpu.c
@@ -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",