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>
This commit is contained in:
parent
b62b54378c
commit
716baa7b43
@ -169,8 +169,8 @@ static int nvec_mouse_resume(struct device *dev)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static const SIMPLE_DEV_PM_OPS(nvec_mouse_pm_ops, nvec_mouse_suspend,
|
static SIMPLE_DEV_PM_OPS(nvec_mouse_pm_ops, nvec_mouse_suspend,
|
||||||
nvec_mouse_resume);
|
nvec_mouse_resume);
|
||||||
|
|
||||||
static struct platform_driver nvec_mouse_driver = {
|
static struct platform_driver nvec_mouse_driver = {
|
||||||
.probe = nvec_mouse_probe,
|
.probe = nvec_mouse_probe,
|
||||||
|
Loading…
Reference in New Issue
Block a user