Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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
8485adf17a15 ("ARM: imx: Remove imx device directory").

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

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Helge Deller <deller@gmx.de>

authored by

Uwe Kleine-König and committed by
Helge Deller
ded77a74 e2279cc9

+12 -25
-1
MAINTAINERS
··· 8011 8011 L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) 8012 8012 S: Maintained 8013 8013 F: drivers/video/fbdev/imxfb.c 8014 - F: include/linux/platform_data/video-imxfb.h 8015 8014 8016 8015 FREESCALE IMX DDR PMU DRIVER 8017 8016 M: Frank Li <Frank.li@nxp.com>
+12 -1
drivers/video/fbdev/imxfb.c
··· 41 41 #include <video/of_videomode.h> 42 42 #include <video/videomode.h> 43 43 44 - #include <linux/platform_data/video-imxfb.h> 44 + #define PCR_TFT (1 << 31) 45 + #define PCR_BPIX_8 (3 << 25) 46 + #define PCR_BPIX_12 (4 << 25) 47 + #define PCR_BPIX_16 (5 << 25) 48 + #define PCR_BPIX_18 (6 << 25) 49 + 50 + struct imx_fb_videomode { 51 + struct fb_videomode mode; 52 + u32 pcr; 53 + bool aus_mode; 54 + unsigned char bpp; 55 + }; 45 56 46 57 /* 47 58 * Complain if VAR is out of range.
-23
include/linux/platform_data/video-imxfb.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0 */ 2 - /* 3 - * This structure describes the machine which we are running on. 4 - */ 5 - #ifndef __MACH_IMXFB_H__ 6 - #define __MACH_IMXFB_H__ 7 - 8 - #include <linux/fb.h> 9 - 10 - #define PCR_TFT (1 << 31) 11 - #define PCR_BPIX_8 (3 << 25) 12 - #define PCR_BPIX_12 (4 << 25) 13 - #define PCR_BPIX_16 (5 << 25) 14 - #define PCR_BPIX_18 (6 << 25) 15 - 16 - struct imx_fb_videomode { 17 - struct fb_videomode mode; 18 - u32 pcr; 19 - bool aus_mode; 20 - unsigned char bpp; 21 - }; 22 - 23 - #endif /* ifndef __MACH_IMXFB_H__ */