X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fvideo_output.h;h=2fb46bc9340d9b40617042ba8bb253754e4b6f67;hb=dbb6be6d5e974c42bbecd183effaa0df69e1dd8b;hp=e63e0c03ee0d2be327022ad17fcefe8127ea12e7;hpb=9783e1df7a6bd1e4dc5e2cafcdc29b65a47473d6;p=pandora-kernel.git 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 { 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,