4adbe8a03cbe42595ba34078212034d1666d9022
[openwrt/staging/noltari.git] /
1 From 0a5e493ea20d9d24d0808d8a4e05a97deb19b423 Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Fri, 3 Jul 2020 16:13:33 +0100
4 Subject: [PATCH] drm/vc4: FKMS: Put includes in alphabetical order,
5 and use <> instead of ""
6
7 Reorder the includes, and use the system include paths rather than
8 local ones
9
10 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
11 ---
12 drivers/gpu/drm/vc4/vc4_firmware_kms.c | 29 +++++++++++++-------------
13 1 file changed, 15 insertions(+), 14 deletions(-)
14
15 --- a/drivers/gpu/drm/vc4/vc4_firmware_kms.c
16 +++ b/drivers/gpu/drm/vc4/vc4_firmware_kms.c
17 @@ -14,25 +14,26 @@
18 * Pi's firmware display stack.
19 */
20
21 +#include <drm/drm_atomic_helper.h>
22 +#include <drm/drm_crtc_helper.h>
23 +#include <drm/drm_drv.h>
24 +#include <drm/drm_fb_cma_helper.h>
25 +#include <drm/drm_fourcc.h>
26 +#include <drm/drm_gem_framebuffer_helper.h>
27 +#include <drm/drm_plane_helper.h>
28 +#include <drm/drm_probe_helper.h>
29 +#include <drm/drm_vblank.h>
30 +
31 +#include <linux/component.h>
32 +#include <linux/clk.h>
33 +#include <linux/debugfs.h>
34 #include <linux/module.h>
35
36 -#include "drm/drm_atomic_helper.h"
37 -#include "drm/drm_gem_framebuffer_helper.h"
38 -#include "drm/drm_plane_helper.h"
39 -#include "drm/drm_crtc_helper.h"
40 -#include "drm/drm_fourcc.h"
41 -#include "drm/drm_probe_helper.h"
42 -#include "drm/drm_drv.h"
43 -#include "drm/drm_vblank.h"
44 -#include "linux/clk.h"
45 -#include "linux/debugfs.h"
46 -#include "drm/drm_fb_cma_helper.h"
47 -#include "linux/component.h"
48 -#include "linux/of_device.h"
49 +#include <soc/bcm2835/raspberrypi-firmware.h>
50 +
51 #include "vc4_drv.h"
52 #include "vc4_regs.h"
53 #include "vc_image_types.h"
54 -#include <soc/bcm2835/raspberrypi-firmware.h>
55
56 int fkms_max_refresh_rate = 85;
57 module_param(fkms_max_refresh_rate, int, 0644);