Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228276
b: refs/heads/master
c: 4740a08
h: refs/heads/master
v: v3
  • Loading branch information
Emilio G. Cota authored and Greg Kroah-Hartman committed Dec 3, 2010
1 parent ca67736 commit 5affbe4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 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: 1daa38d379932bde0d2036c2e10ced3e8842b74f
refs/heads/master: 4740a0846069f6d4cbba9e328a9d92e6dd76110d
12 changes: 7 additions & 5 deletions trunk/drivers/staging/vme/devices/vme_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ static ssize_t vme_user_write(struct file *, const char __user *, size_t,
static loff_t vme_user_llseek(struct file *, loff_t, int);
static long vme_user_unlocked_ioctl(struct file *, unsigned int, unsigned long);

static int __init vme_user_probe(struct device *, int, int);
static int __exit vme_user_remove(struct device *, int, int);
static int __devinit vme_user_probe(struct device *, int, int);
static int __devexit vme_user_remove(struct device *, int, int);

static struct file_operations vme_user_fops = {
.open = vme_user_open,
Expand Down Expand Up @@ -596,7 +596,7 @@ static void buf_unalloc(int num)
static struct vme_driver vme_user_driver = {
.name = driver_name,
.probe = vme_user_probe,
.remove = vme_user_remove,
.remove = __devexit_p(vme_user_remove),
};


Expand Down Expand Up @@ -666,7 +666,8 @@ static int __init vme_user_init(void)
* as practical. We will therefore reserve the buffers and request the images
* here so that we don't have to do it later.
*/
static int __init vme_user_probe(struct device *dev, int cur_bus, int cur_slot)
static int __devinit vme_user_probe(struct device *dev, int cur_bus,
int cur_slot)
{
int i, err;
char name[12];
Expand Down Expand Up @@ -841,7 +842,8 @@ static int __init vme_user_probe(struct device *dev, int cur_bus, int cur_slot)
return err;
}

static int __exit vme_user_remove(struct device *dev, int cur_bus, int cur_slot)
static int __devexit vme_user_remove(struct device *dev, int cur_bus,
int cur_slot)
{
int i;

Expand Down

0 comments on commit 5affbe4

Please sign in to comment.