lcd: move platform-specific structs to their own headers
authorNikita Kiryanov <nikita@compulab.co.il>
Tue, 3 Feb 2015 11:32:20 +0000 (13:32 +0200)
committerAnatolij Gustschin <agust@denx.de>
Tue, 10 Feb 2015 12:24:10 +0000 (13:24 +0100)
commitbaaa7dd7061521509792ca158508b2c4554a7184
treeffa289d4630ec3614551dd5989d23d181613c3f9
parent7f641d53bbb3a426a3bfb132d8346153e86a9d08
lcd: move platform-specific structs to their own headers

common/lcd code is full of platform-specific code and definitions, which
ideally should reside with the respective driver code. Take a step towards that
goal by moving platform-specific structs from lcd.h to their own header files.

The structs for the generic case (the #else for all the platform-specific
cases) is retained in lcd.h as the default case.

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Bo Shen <voice.shen@atmel.com>
Tested-by: Josh Wu <josh.wu@atmel.com>
Cc: Bo Shen <voice.shen@atmel.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Anatolij Gustschin <agust@denx.de>
include/atmel_lcd.h [new file with mode: 0644]
include/exynos_lcd.h [new file with mode: 0644]
include/lcd.h
include/mpc823_lcd.h [new file with mode: 0644]
include/pxa_lcd.h [new file with mode: 0644]