]> git.karo-electronics.de Git - karo-tx-linux.git/commit
video: fbdev: imxfb: remove the macros for initializing the DMACR
authorMartin Kaiser <martin@kaiser.cx>
Wed, 11 Jan 2017 16:09:50 +0000 (17:09 +0100)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Wed, 11 Jan 2017 16:09:50 +0000 (17:09 +0100)
commitcbbd86075a7e32b6e67f77d374b9bb53841ab1c7
treeabca24b3801e100a656bf6307f55721e56e903c9
parent2f7590b2677b3815d584971ff478c9a75bc66026
video: fbdev: imxfb: remove the macros for initializing the DMACR

The current definitions of DMACR_HM() and DMACR_TM() are correct only
for imx1, they're wrong for imx21.

The macros are meant for legacy board files only, they're not applicable
for boards using device tree.

At the moment, there are no boards using these macros. So it should be
safe to drop them rather than making them work for both imx1 and imx21,
which would require a change in the platform data struct.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
include/linux/platform_data/video-imxfb.h