diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2018-11-09 17:54:38 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2018-11-09 17:56:44 +0100 |
commit | caccdcc5dbec0dd9643fe1667893e78631a4d38e (patch) | |
tree | 396c01730f550b90b9559622362fb093024f1219 /drivers/i2c | |
parent | i2c: add i2c bus driver for NVIDIA GPU (diff) | |
download | linux-caccdcc5dbec0dd9643fe1667893e78631a4d38e.tar.xz linux-caccdcc5dbec0dd9643fe1667893e78631a4d38e.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | drivers/i2c/busses/i2c-nvidia-gpu.c | 2 |
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", |