backlight: fix adp8860_bl build errors
authorRandy Dunlap <randy.dunlap@oracle.com>
Wed, 12 May 2010 20:49:12 +0000 (13:49 -0700)
committerRichard Purdie <rpurdie@linux.intel.com>
Wed, 26 May 2010 12:08:32 +0000 (13:08 +0100)
commit3f43f8b2ad9035c5440d65681079f4d80542d21f
treed980d62465066c4cf642cca105d490f189138c2a
parent82fd53b7f70af9855eda613450a7e4701ffdae20
backlight: fix adp8860_bl build errors

Add slab.h to fix part of build.
Add a parameter in backlight_device_register() call to fix part of build.

drivers/video/backlight/adp8860_bl.c:215: error: implicit declaration of function 'kzalloc'
drivers/video/backlight/adp8860_bl.c:215: warning: assignment makes pointer from integer without a cast
drivers/video/backlight/adp8860_bl.c:285: error: implicit declaration of function 'kfree'
drivers/video/backlight/adp8860_bl.c:673: warning: assignment makes pointer from integer without a cast
drivers/video/backlight/adp8860_bl.c:689: error: too few arguments to function 'backlight_device_register'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
drivers/video/backlight/adp8860_bl.c