diff options
author | Gerard Snitselaar <dev@snitselaar.org> | 2012-03-23 03:21:05 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-10 09:14:39 -0700 |
commit | eaa004a4ba3264d17d7e6882948a7980e14e9d20 (patch) | |
tree | fb9c0bd6b3bdcb088f4df3ee457ecae5492740cf /drivers/staging/vme | |
parent | fcff311c938c95c90573c060d37648df00e45017 (diff) | |
download | linux-eaa004a4ba3264d17d7e6882948a7980e14e9d20.tar.gz linux-eaa004a4ba3264d17d7e6882948a7980e14e9d20.tar.bz2 linux-eaa004a4ba3264d17d7e6882948a7980e14e9d20.zip |
staging/vme: Fix module parameters
loopback should be declared bool, and variant probably shouldn't be
const.
Signed-off-by: Gerard Snitselaar <dev@snitselaar.org>
Acked-by: Martyn Welch <martyn.welch@ge.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vme')
-rw-r--r-- | drivers/staging/vme/devices/vme_pio2_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/vme/devices/vme_pio2_core.c b/drivers/staging/vme/devices/vme_pio2_core.c index 9fedc442a779..573c80003f0c 100644 --- a/drivers/staging/vme/devices/vme_pio2_core.c +++ b/drivers/staging/vme/devices/vme_pio2_core.c @@ -35,10 +35,10 @@ static int vector[PIO2_CARDS_MAX]; static int vector_num; static int level[PIO2_CARDS_MAX]; static int level_num; -static const char *variant[PIO2_CARDS_MAX]; +static char *variant[PIO2_CARDS_MAX]; static int variant_num; -static int loopback; +static bool loopback; static int pio2_match(struct vme_dev *); static int __devinit pio2_probe(struct vme_dev *); |