[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <503A3B7C.4040005@xenotime.net>
Date: Sun, 26 Aug 2012 08:06:36 -0700
From: Randy Dunlap <rdunlap@...otime.net>
To: James <bjlockie@...kie.ca>
CC: Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: ifdef only module
On 08/25/2012 08:50 PM, James wrote:
> I want to only run code if a module is being built.
>
> drivers/media/video/cx25840/cx25840-core.c: 394
> If it is built into kernel it causes a timeout because it relies on udev which is not initialized yet.
> The code is only needed to provide analog reception.
> --
#ifdef MODULE
<that code>
#endif
--
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists