Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31285
b: refs/heads/master
c: 5e48307
h: refs/heads/master
i:
  31283: 6fd2997
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Jun 26, 2006
1 parent 17d60ce commit 36c31bd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 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: ce7b0f46bbf4bff8daab2dd3d878b9e72a623d09
refs/heads/master: 5e483075a1f9862a65af648d1d939499969c7b5d
3 changes: 1 addition & 2 deletions trunk/drivers/media/video/videodev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1570,8 +1570,7 @@ int video_register_device(struct video_device *vfd, int type, int nr)
vfd->class_dev.dev = vfd->dev;
vfd->class_dev.class = &video_class;
vfd->class_dev.devt = MKDEV(VIDEO_MAJOR, vfd->minor);
sprintf(vfd->devfs_name, "%s%d", name_base, i - base);
strlcpy(vfd->class_dev.class_id, vfd->devfs_name, BUS_ID_SIZE);
sprintf(vfd->class_dev.class_id, "%s%d", name_base, i - base);
class_device_register(&vfd->class_dev);
class_device_create_file(&vfd->class_dev,
&class_device_attr_name);
Expand Down
1 change: 0 additions & 1 deletion trunk/include/media/v4l2-dev.h
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,6 @@ void *priv;
/* for videodev.c intenal usage -- please don't touch */
int users; /* video_exclusive_{open|close} ... */
struct mutex lock; /* ... helper function uses these */
char devfs_name[64]; /* devfs */
struct class_device class_dev; /* sysfs */
};

Expand Down

0 comments on commit 36c31bd

Please sign in to comment.