Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163901
b: refs/heads/master
c: 388dba3
h: refs/heads/master
i:
  163899: 66e3466
v: v3
  • Loading branch information
Ingo Molnar authored and Linus Torvalds committed Sep 21, 2009
1 parent a5356ca commit f1362d0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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: ebc79c4f8da0f92efa968e0328f32334a2ce80cf
refs/heads/master: 388dba30471c236a290c4082bce5f2b5cd1a7a06
4 changes: 2 additions & 2 deletions trunk/drivers/media/video/dabusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -748,14 +748,14 @@ static const struct file_operations dabusb_fops =
.release = dabusb_release,
};

static char *dabusb_nodename(struct device *dev)
static char *dabusb_devnode(struct device *dev, mode_t *mode)
{
return kasprintf(GFP_KERNEL, "usb/%s", dev_name(dev));
}

static struct usb_class_driver dabusb_class = {
.name = "dabusb%d",
.nodename = dabusb_nodename,
.devnode = dabusb_devnode,
.fops = &dabusb_fops,
.minor_base = DABUSB_MINOR,
};
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/staging/iio/industrialio-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ dev_t iio_devt;
EXPORT_SYMBOL(iio_devt);

#define IIO_DEV_MAX 256
static char *iio_nodename(struct device *dev)
static char *iio_devnode(struct device *dev, mode_t *mode)
{
return kasprintf(GFP_KERNEL, "iio/%s", dev_name(dev));
}

struct class iio_class = {
.name = "iio",
.nodename = iio_nodename,
.devnode = iio_devnode,
};
EXPORT_SYMBOL(iio_class);

Expand Down

0 comments on commit f1362d0

Please sign in to comment.