X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=include%2Fmedia%2Fsoc_camera_platform.h;h=0ecefe227b767c3894847e1bbb5b7225e5bd6af7;hb=32208d444ab6ed427d18deebc4ad783602c695ba;hp=7c81ad32b1e5ae90b91a758216f91ec7f67ef3c0;hpb=50c616fd0b43f50379aa70da96fd350312367367;p=safe%2Fjmp%2Flinux-2.6 diff --git a/include/media/soc_camera_platform.h b/include/media/soc_camera_platform.h index 7c81ad3..0ecefe2 100644 --- a/include/media/soc_camera_platform.h +++ b/include/media/soc_camera_platform.h @@ -1,15 +1,27 @@ +/* + * Generic Platform Camera Driver Header + * + * Copyright (C) 2008 Magnus Damm + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + #ifndef __SOC_CAMERA_H__ #define __SOC_CAMERA_H__ #include +#include + +struct device; struct soc_camera_platform_info { - int iface; - char *format_name; + const char *format_name; unsigned long format_depth; - struct v4l2_pix_format format; + struct v4l2_mbus_framefmt format; unsigned long bus_param; - void (*power)(int); + struct device *dev; int (*set_capture)(struct soc_camera_platform_info *info, int enable); };