History

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.

Uwe Kleine-König committed 4 years ago

Commit ded77a71 parent e2279cc3 files · +12 −25Browse files

Unified · Split

3 files
  1. MAINTAINERS +0 −1
  2. drivers/video/fbdev/imxfb.c +12 −1
  3. include/linux/platform_data/video-imxfb.h +0 −23
MAINTAINERS+0−1
@@ -8011,7 +8011,6 @@ L: linux-fbdev@vger.kernel.org · 8010 unmodified lines
8011L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)8011L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
8012S: Maintained8012S: Maintained
8013F: drivers/video/fbdev/imxfb.c8013F: drivers/video/fbdev/imxfb.c
8014F: include/linux/platform_data/video-imxfb.h
8015 8014
8016FREESCALE IMX DDR PMU DRIVER8015FREESCALE IMX DDR PMU DRIVER
8017M: Frank Li <Frank.li@nxp.com>8016M: Frank Li <Frank.li@nxp.com>
drivers/video/fbdev/imxfb.c+12−1
@@ -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
50struct 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.
include/linux/platform_data/video-imxfb.h+0−23
@@ -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
16struct 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__ */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t