Re: [PATCH 9/10] udlfb: explicit dependencies and warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 15, 2010 at 06:46:35AM -0800, Bernie Thompson wrote:
> Specify Kconfig dependencies, and include warnings for building as a module
> 
> udlfb is dependent on FB_DEFERRED_IO, FB_SYS_*, and FB_MODE_HELPERS
> 
> Because many kernels do not include defio (which cannot be built
> as a module), yet users want to be able to build udlfb as a module later,
> udlfb has ifdefs and these dependency warnings to help udlfb build with or
> without certain dependencies, but also print warnings for any lost function.
> 
> Even though this kind of flexibility isn't common, we've gotten feedback
> from a significant portion of users that they were frustrated without it.

This patch adds the warning to the build:
	drivers/staging/udlfb/udlfb.c:65:2: warning: #warning message "FB_SYS_* in kernel or module option to support fb console"

Any ideas?

thanks,

greg k-h
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux