diff options
author | tonyj@suse.de <tonyj@suse.de> | 2007-08-07 22:28:47 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 14:51:04 -0700 |
commit | 60043428a561a5d431ad479b7ecb79805ed04efc (patch) | |
tree | 3e143a2a4872987c38719fd07d18940d2acd77c5 /include | |
parent | 34b51f39e23bc9e529830ddf6108381d4bab95a6 (diff) | |
download | op-kernel-dev-60043428a561a5d431ad479b7ecb79805ed04efc.zip op-kernel-dev-60043428a561a5d431ad479b7ecb79805ed04efc.tar.gz |
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')
-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 e63e0c0..2fb46bc 100644 --- a/include/linux/video_output.h +++ b/include/linux/video_output.h @@ -31,9 +31,9 @@ struct output_properties { struct output_device { int request_state; struct output_properties *props; - struct class_device class_dev; + struct device dev; }; -#define to_output_device(obj) container_of(obj, struct output_device, class_dev) +#define to_output_device(obj) container_of(obj, struct output_device, dev) struct output_device *video_output_register(const char *name, struct device *dev, void *devdata, |