On Thu, 8 Jan 2009, Jean Delvare wrote:
> > +#if (defined(CONFIG_USB_ZR364XX_MODULE) && defined(MODULE))
>
> Huh? I guess you really mean: CONFIG_VIDEO_ZORAN_MODULE?
>
> I don't get the point of checking for both CONFIG_VIDEO_ZORAN_MODULE
> and MODULE, checking for just one of them should be enough, right?

Only one should be necessary.  Sometimes one writes something like this:

#if defined(CONFIG_FOO) || (defined(CONFIG_FOO_MODULE) && defined(MODULE))
/* use symbol that's provided by FOO */
#endif

But that's for using a symbol provided by another module without depending
on that module.
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to