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.
_______________________________________________
v4l-dvb-maintainer mailing list
v4l-dvb-maintainer@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/v4l-dvb-maintainer
[Linux Media]
[Older V4L]
[Linux DVB]
[Video Disk Recorder]
[Asterisk]
[Photo]
[DCCP]
[Netdev]
[Xorg]
[Util Linux NG]
[Xfree86]
[Free Photo Albums]
[Fedora Users]
[Fedora Women]
[ALSA Users]
[ALSA Devel]
[SSH]
[Linux USB]
 |
 |
-->