diff options
author | Peng Fan <van.freenix@gmail.com> | 2015-06-16 18:13:21 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-06-18 07:30:40 +0300 |
commit | 716baa7b430c66187a41e4d41eedf5de01343b21 (patch) | |
tree | 09a2213adb48f55ea23fabcb2ae1b6667c0cf782 /drivers/staging/nvec | |
parent | b62b54378c4a3badbab2c76c12b44b67d94af215 (diff) | |
download | linux-716baa7b430c66187a41e4d41eedf5de01343b21.tar.xz |
staging: nvec: remove duplicated const
Sparse checking warning:
"drivers/staging/nvec/nvec_ps2.c:172:14: warning: duplicate const".
Remove the duplicated const to fix the warning.
Signed-off-by: Peng Fan <van.freenix@gmail.com>
Acked-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/nvec')
-rw-r--r-- | drivers/staging/nvec/nvec_ps2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/nvec/nvec_ps2.c b/drivers/staging/nvec/nvec_ps2.c index 6ebbc82323c3..0922dd3a08d3 100644 --- a/drivers/staging/nvec/nvec_ps2.c +++ b/drivers/staging/nvec/nvec_ps2.c @@ -169,8 +169,8 @@ static int nvec_mouse_resume(struct device *dev) } #endif -static const SIMPLE_DEV_PM_OPS(nvec_mouse_pm_ops, nvec_mouse_suspend, - nvec_mouse_resume); +static SIMPLE_DEV_PM_OPS(nvec_mouse_pm_ops, nvec_mouse_suspend, + nvec_mouse_resume); static struct platform_driver nvec_mouse_driver = { .probe = nvec_mouse_probe, |