diff options
author | tonyj@suse.de <tonyj@suse.de> | 2007-08-08 01:28:47 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 17:51:04 -0400 |
commit | 60043428a561a5d431ad479b7ecb79805ed04efc (patch) | |
tree | 3e143a2a4872987c38719fd07d18940d2acd77c5 /include/linux/video_output.h | |
parent | 34b51f39e23bc9e529830ddf6108381d4bab95a6 (diff) |
Convert from class_device to device for drivers/video
Convert from class_device to device for drivers/video.
Signed-off-by: Tony Jones <tonyj@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/video_output.h')
-rw-r--r-- | include/linux/video_output.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/video_output.h b/include/linux/video_output.h index e63e0c03ee0d..2fb46bc9340d 100644 --- a/include/linux/video_output.h +++ b/include/linux/video_output.h | |||
@@ -31,9 +31,9 @@ struct output_properties { | |||
31 | struct output_device { | 31 | struct output_device { |
32 | int request_state; | 32 | int request_state; |
33 | struct output_properties *props; | 33 | struct output_properties *props; |
34 | struct class_device class_dev; | 34 | struct device dev; |
35 | }; | 35 | }; |
36 | #define to_output_device(obj) container_of(obj, struct output_device, class_dev) | 36 | #define to_output_device(obj) container_of(obj, struct output_device, dev) |
37 | struct output_device *video_output_register(const char *name, | 37 | struct output_device *video_output_register(const char *name, |
38 | struct device *dev, | 38 | struct device *dev, |
39 | void *devdata, | 39 | void *devdata, |