Re: [GIT PULL FOR v3.5] Fix gspca compile error if CONFIG_PM is not set

2012-05-18 Thread Sylwester Nawrocki
Hi Hans, On 05/18/2012 01:43 PM, Hans Verkuil wrote: > The field 'frozen' is only there if CONFIG_PM is set, so don't use it > directly, always check for CONFIG_PM first. If it is safe to assume that for !CONFIG_PM the field 'frozen' is always zero, wouldn't it be better to create a macro in a he

[GIT PULL FOR v3.5] Fix gspca compile error if CONFIG_PM is not set

2012-05-18 Thread Hans Verkuil
The field 'frozen' is only there if CONFIG_PM is set, so don't use it directly, always check for CONFIG_PM first. Regards, Hans The following changes since commit 61282daf505f3c8def09332ca337ac257b792029: [media] V4L2: mt9t112: fixup JPEG initialization workaround (2012-05-15 16:15:3