Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268839
b: refs/heads/master
c: 0a4b6b0
h: refs/heads/master
i:
  268837: 5d57804
  268835: a506a21
  268831: 14f2b89
v: v3
  • Loading branch information
Manohar Vanga authored and Greg Kroah-Hartman committed Oct 17, 2011
1 parent e839ba3 commit 91ef6be
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a916a391d3e19593a104a8c3c4779a3084f1ca5b
refs/heads/master: 0a4b6b0279d903df2d62aaf92edf360fb5312532
10 changes: 5 additions & 5 deletions trunk/drivers/staging/vme/devices/vme_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
static DEFINE_MUTEX(vme_user_mutex);
static const char driver_name[] = "vme_user";

static int bus[USER_BUS_MAX];
static int bus[VME_USER_BUS_MAX];
static unsigned int bus_num;

/* Currently Documentation/devices.txt defines the following for VME:
Expand Down Expand Up @@ -643,10 +643,10 @@ static int __init vme_user_init(void)
/* Let's start by supporting one bus, we can support more than one
* in future revisions if that ever becomes necessary.
*/
if (bus_num > USER_BUS_MAX) {
if (bus_num > VME_USER_BUS_MAX) {
printk(KERN_ERR "%s: Driver only able to handle %d buses\n",
driver_name, USER_BUS_MAX);
bus_num = USER_BUS_MAX;
driver_name, VME_USER_BUS_MAX);
bus_num = VME_USER_BUS_MAX;
}

/*
Expand All @@ -668,7 +668,7 @@ static int __init vme_user_init(void)

static int vme_user_match(struct vme_dev *vdev)
{
if (vdev->num >= USER_BUS_MAX)
if (vdev->num >= VME_USER_BUS_MAX)
return 0;
return 1;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/vme/devices/vme_user.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef _VME_USER_H_
#define _VME_USER_H_

#define USER_BUS_MAX 1
#define VME_USER_BUS_MAX 1

/*
* VMEbus Master Window Configuration Structure
Expand Down

0 comments on commit 91ef6be

Please sign in to comment.