]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Ns558 gameport warning
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sat, 26 Jul 2003 02:13:58 +0000 (19:13 -0700)
committerJens Axboe <axboe@suse.de>
Sat, 26 Jul 2003 02:13:58 +0000 (19:13 -0700)
Ns558 gameport: constness of ns558_pnp_driver depends on CONFIG_PNP, causing a
warning if CONFIG_PNP is not set, so make sure it is never const.

drivers/input/gameport/ns558.c

index 75933ee55e14f86fd52e63d67489d3b1592634d5..e9acad1b3b0093da7e14be7a62d26a6284b17a5b 100644 (file)
@@ -243,7 +243,7 @@ static struct pnp_driver ns558_pnp_driver = {
 
 #else
 
-static const struct pnp_driver ns558_pnp_driver;
+static struct pnp_driver ns558_pnp_driver;
 
 #endif