Commit ded77a74 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Helge Deller
Browse files

video: fbdev: imxfb: Fold <linux/platform_data/video-imxfb.h> into only user



No source file but the driver itself includes the header containing the
platform data definition. The last user is gone since commit
8485adf1 ("ARM: imx: Remove imx device directory").

Move the remaining symbols directly into the driver and remove the then
unused header file.

Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent e2279cc9
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -8011,7 +8011,6 @@ L: linux-fbdev@vger.kernel.org
L:	linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
S:	Maintained
F:	drivers/video/fbdev/imxfb.c
F:	include/linux/platform_data/video-imxfb.h
FREESCALE IMX DDR PMU DRIVER
M:	Frank Li <Frank.li@nxp.com>
+12 −1
Original line number Diff line number Diff line
@@ -41,7 +41,18 @@
#include <video/of_videomode.h>
#include <video/videomode.h>

#include <linux/platform_data/video-imxfb.h>
#define PCR_TFT		(1 << 31)
#define PCR_BPIX_8	(3 << 25)
#define PCR_BPIX_12	(4 << 25)
#define PCR_BPIX_16	(5 << 25)
#define PCR_BPIX_18	(6 << 25)

struct imx_fb_videomode {
	struct fb_videomode mode;
	u32 pcr;
	bool aus_mode;
	unsigned char	bpp;
};

/*
 * Complain if VAR is out of range.
+0 −23
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * This structure describes the machine which we are running on.
 */
#ifndef __MACH_IMXFB_H__
#define __MACH_IMXFB_H__

#include <linux/fb.h>

#define PCR_TFT		(1 << 31)
#define PCR_BPIX_8	(3 << 25)
#define PCR_BPIX_12	(4 << 25)
#define PCR_BPIX_16	(5 << 25)
#define PCR_BPIX_18	(6 << 25)

struct imx_fb_videomode {
	struct fb_videomode mode;
	u32 pcr;
	bool aus_mode;
	unsigned char	bpp;
};

#endif /* ifndef __MACH_IMXFB_H__ */