Skip to content

Commit

Permalink
staging: nvec: remove duplicated const
Browse files Browse the repository at this point in the history
commit 716baa7 upstream.

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>
  • Loading branch information
Peng Fan authored and Greg Kroah-Hartman committed Oct 8, 2017
1 parent 9c4ae8f commit 9d5012d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/nvec/nvec_ps2.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,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,
Expand Down

0 comments on commit 9d5012d

Please sign in to comment.