From: Sam Ravnborg Date: Sun, 30 Jun 2019 06:19:21 +0000 (+0200) Subject: drm/ast: drop use of drmP.h X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=fbbbd1608b0d23bdc436ea572ace98ec2d663abb;p=linux.git drm/ast: drop use of drmP.h Drop use of the deprecated drmP.h header file. While touching the files divide include files in blocks and sort the include files in the individual blocks. Signed-off-by: Sam Ravnborg Acked-by: Thomas Zimmermann Acked-by: Emil Velikov Cc: Dave Airlie Cc: Sam Ravnborg Cc: Gerd Hoffmann Cc: Alex Deucher Cc: Daniel Vetter Cc: "Christian König" Cc: Sam Bobroff Cc: YueHaibing Cc: Huang Rui Cc: "Y.C. Chen" Cc: Hans de Goede Link: https://patchwork.freedesktop.org/patch/msgid/20190630061922.7254-33-sam@ravnborg.org --- diff --git a/drivers/gpu/drm/ast/ast_dp501.c b/drivers/gpu/drm/ast/ast_dp501.c index 4c7375b452811..98cd69269263f 100644 --- a/drivers/gpu/drm/ast/ast_dp501.c +++ b/drivers/gpu/drm/ast/ast_dp501.c @@ -1,8 +1,11 @@ // SPDX-License-Identifier: GPL-2.0 +#include #include -#include +#include + #include "ast_drv.h" + MODULE_FIRMWARE("ast_dp501_fw.bin"); static int ast_load_dp501_microcode(struct drm_device *dev) diff --git a/drivers/gpu/drm/ast/ast_drv.c b/drivers/gpu/drm/ast/ast_drv.c index 2c977d0ac8feb..6ed6ff49efc07 100644 --- a/drivers/gpu/drm/ast/ast_drv.c +++ b/drivers/gpu/drm/ast/ast_drv.c @@ -25,12 +25,17 @@ /* * Authors: Dave Airlie */ -#include + #include +#include +#include -#include #include +#include +#include +#include #include +#include #include "ast_drv.h" diff --git a/drivers/gpu/drm/ast/ast_drv.h b/drivers/gpu/drm/ast/ast_drv.h index 907d7480b7ba7..244cc7c382afb 100644 --- a/drivers/gpu/drm/ast/ast_drv.h +++ b/drivers/gpu/drm/ast/ast_drv.h @@ -28,17 +28,18 @@ #ifndef __AST_DRV_H__ #define __AST_DRV_H__ -#include -#include - -#include -#include - -#include - +#include +#include #include #include +#include +#include +#include +#include +#include +#include + #define DRIVER_AUTHOR "Dave Airlie" #define DRIVER_NAME "ast" diff --git a/drivers/gpu/drm/ast/ast_main.c b/drivers/gpu/drm/ast/ast_main.c index 8dff7672560c1..0a1bb9c05195d 100644 --- a/drivers/gpu/drm/ast/ast_main.c +++ b/drivers/gpu/drm/ast/ast_main.c @@ -25,12 +25,17 @@ /* * Authors: Dave Airlie */ -#include -#include "ast_drv.h" + +#include #include #include +#include #include +#include +#include + +#include "ast_drv.h" void ast_set_index_reg_mask(struct ast_private *ast, uint32_t base, uint8_t index, diff --git a/drivers/gpu/drm/ast/ast_mode.c b/drivers/gpu/drm/ast/ast_mode.c index 3c0716891b29f..c792362024a5a 100644 --- a/drivers/gpu/drm/ast/ast_mode.c +++ b/drivers/gpu/drm/ast/ast_mode.c @@ -27,14 +27,18 @@ /* * Authors: Dave Airlie */ + #include -#include +#include + #include #include +#include +#include #include #include -#include "ast_drv.h" +#include "ast_drv.h" #include "ast_tables.h" static struct ast_i2c_chan *ast_i2c_create(struct drm_device *dev); diff --git a/drivers/gpu/drm/ast/ast_post.c b/drivers/gpu/drm/ast/ast_post.c index f7d421359d564..e1d9cdf6ec1dc 100644 --- a/drivers/gpu/drm/ast/ast_post.c +++ b/drivers/gpu/drm/ast/ast_post.c @@ -26,10 +26,13 @@ * Authors: Dave Airlie */ -#include -#include "ast_drv.h" +#include +#include + +#include #include "ast_dram_tables.h" +#include "ast_drv.h" static void ast_post_chip_2300(struct drm_device *dev); static void ast_post_chip_2500(struct drm_device *dev); diff --git a/drivers/gpu/drm/ast/ast_ttm.c b/drivers/gpu/drm/ast/ast_ttm.c index 779c53efee8e8..c52d922941715 100644 --- a/drivers/gpu/drm/ast/ast_ttm.c +++ b/drivers/gpu/drm/ast/ast_ttm.c @@ -25,7 +25,12 @@ /* * Authors: Dave Airlie */ -#include + +#include + +#include +#include +#include #include "ast_drv.h"