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.
Unified · Split
| @@ -8011,7 +8011,6 @@ L: linux-fbdev@vger.kernel.org · 8010 unmodified lines | |||
| 8011 | L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) | 8011 | L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) |
| 8012 | S: Maintained | 8012 | S: Maintained |
| 8013 | F: drivers/video/fbdev/imxfb.c | 8013 | F: drivers/video/fbdev/imxfb.c |
| 8014 | F: include/linux/platform_data/video-imxfb.h | ||
| 8015 | 8014 | ||
| 8016 | FREESCALE IMX DDR PMU DRIVER | 8015 | FREESCALE IMX DDR PMU DRIVER |
| 8017 | M: Frank Li <Frank.li@nxp.com> | 8016 | M: Frank Li <Frank.li@nxp.com> |
| @@ -41,7 +41,18 @@ · 40 unmodified lines | |||
| 41 | #include <video/of_videomode.h> | 41 | #include <video/of_videomode.h> |
| 42 | #include <video/videomode.h> | 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 | * Complain if VAR is out of range. | 58 | * Complain if VAR is out of range. |
| @@ -1,23 +0,0 @@ | |||
| 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__ */ | ||