]> git.baikalelectronics.ru Git - kernel.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)
commita178802d1a189e3611d12918820b8764286dd6e4
treeabca24b3801e100a656bf6307f55721e56e903c9
parent21b083ccf2b68a9f77c45be2fc5f7bdce0bec009
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