From: Jingoo Han Date: Fri, 5 Oct 2012 00:13:01 +0000 (-0700) Subject: drivers/video/backlight/platform_lcd.c: add support for device tree based probe X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=52e842432f36d5b15227d0ee0d2aa3d2bc3cc0b2;p=linux.git drivers/video/backlight/platform_lcd.c: add support for device tree based probe This patch adds the of_match_table to platform-lcd driver to be probed when platform-lcd device node is found in the device tree. [akpm@linux-foundation.org: include of.h] Signed-off-by: Jingoo Han Cc: Richard Purdie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/backlight/platform_lcd.c b/drivers/video/backlight/platform_lcd.c index b6672340d6c78..ca4f5d70fe10a 100644 --- a/drivers/video/backlight/platform_lcd.c +++ b/drivers/video/backlight/platform_lcd.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include