Hi, On 14/03/14 13:09, Alexander Shiyan wrote: > Provide dummy functions for LCD register()/unregister() if > CONFIG_LCD_CLASS_DEVICE is not set. > This allows us to use the LCD class as an optional. > > Signed-off-by: Alexander Shiyan <shc_work@xxxxxxx> > --- > include/linux/lcd.h | 37 ++++++++++++++++++++++++++++++------- > 1 file changed, 30 insertions(+), 7 deletions(-) I'm still not convinced about this. Isn't it simpler to just select/depend on LCD_CLASS_DEVICE? The lcd.c is a bit less than 9 kB, so it's not like you're adding a huge amount of code into the kernel even if the driver doesn't happen to use it for a particular display. Tomi
Attachment:
signature.asc
Description: OpenPGP digital signature