diff options
| author | Geert Uytterhoeven <geert@linux-m68k.org> | 2003-07-25 19:13:58 -0700 |
|---|---|---|
| committer | Jens Axboe <axboe@suse.de> | 2003-07-25 19:13:58 -0700 |
| commit | 01b9e994b08a3f65181cfcfea40b5a83001e8048 (patch) | |
| tree | 52e1a6852f000bceee163c27ca9e2fa63a0da012 | |
| parent | 866888c9554f257381cc19c6d9bf3013f7b39368 (diff) | |
[PATCH] Ns558 gameport warning
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.
| -rw-r--r-- | drivers/input/gameport/ns558.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/gameport/ns558.c b/drivers/input/gameport/ns558.c index 75933ee55e14..e9acad1b3b00 100644 --- a/drivers/input/gameport/ns558.c +++ b/drivers/input/gameport/ns558.c @@ -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 |
