diff options
author | Manohar Vanga <manohar.vanga@cern.ch> | 2011-09-26 05:27:18 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-10-17 18:43:13 -0400 |
commit | 0a4b6b0279d903df2d62aaf92edf360fb5312532 (patch) | |
tree | 090bc748ac53da8e8edb160ba1b48c5051af70dd /drivers/staging/vme/devices/vme_user.c | |
parent | a916a391d3e19593a104a8c3c4779a3084f1ca5b (diff) |
staging: vme_user: rename USER_BUS_MAX to VME_USER_BUS_MAX
Signed-off-by: Manohar Vanga <manohar.vanga@cern.ch>
Cc: Martyn Welch <martyn.welch@ge.com>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vme/devices/vme_user.c')
-rw-r--r-- | drivers/staging/vme/devices/vme_user.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/vme/devices/vme_user.c b/drivers/staging/vme/devices/vme_user.c index 9518dda13ea..7dcd1622b5f 100644 --- a/drivers/staging/vme/devices/vme_user.c +++ b/drivers/staging/vme/devices/vme_user.c | |||
@@ -43,7 +43,7 @@ | |||
43 | static DEFINE_MUTEX(vme_user_mutex); | 43 | static DEFINE_MUTEX(vme_user_mutex); |
44 | static const char driver_name[] = "vme_user"; | 44 | static const char driver_name[] = "vme_user"; |
45 | 45 | ||
46 | static int bus[USER_BUS_MAX]; | 46 | static int bus[VME_USER_BUS_MAX]; |
47 | static unsigned int bus_num; | 47 | static unsigned int bus_num; |
48 | 48 | ||
49 | /* Currently Documentation/devices.txt defines the following for VME: | 49 | /* Currently Documentation/devices.txt defines the following for VME: |
@@ -643,10 +643,10 @@ static int __init vme_user_init(void) | |||
643 | /* Let's start by supporting one bus, we can support more than one | 643 | /* Let's start by supporting one bus, we can support more than one |
644 | * in future revisions if that ever becomes necessary. | 644 | * in future revisions if that ever becomes necessary. |
645 | */ | 645 | */ |
646 | if (bus_num > USER_BUS_MAX) { | 646 | if (bus_num > VME_USER_BUS_MAX) { |
647 | printk(KERN_ERR "%s: Driver only able to handle %d buses\n", | 647 | printk(KERN_ERR "%s: Driver only able to handle %d buses\n", |
648 | driver_name, USER_BUS_MAX); | 648 | driver_name, VME_USER_BUS_MAX); |
649 | bus_num = USER_BUS_MAX; | 649 | bus_num = VME_USER_BUS_MAX; |
650 | } | 650 | } |
651 | 651 | ||
652 | /* | 652 | /* |
@@ -668,7 +668,7 @@ err_nocard: | |||
668 | 668 | ||
669 | static int vme_user_match(struct vme_dev *vdev) | 669 | static int vme_user_match(struct vme_dev *vdev) |
670 | { | 670 | { |
671 | if (vdev->num >= USER_BUS_MAX) | 671 | if (vdev->num >= VME_USER_BUS_MAX) |
672 | return 0; | 672 | return 0; |
673 | return 1; | 673 | return 1; |
674 | } | 674 | } |