aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/gpio/gpio_base.c
diff options
context:
space:
mode:
authorSam Ravnborg <[email protected]>2019-06-10 00:07:50 +0200
committerSam Ravnborg <[email protected]>2019-06-10 22:59:45 +0200
commit4fc4dca8320e46b067037496fde3a6d95381d60f (patch)
treeaf3db1dde98e39f98b8bfad890f0ab25dd1a45fc /drivers/gpu/drm/amd/display/dc/gpio/gpio_base.c
parentc366be543c5ea35f4d4103f5ee69f052ce2bffe1 (diff)
drm/amd: drop use of drmp.h in os_types.h
Drop use of the deprecated drmP.h from display/dc/os_types.h Fix all fallout after this change. Most of the fixes was adding a missing include of vmalloc.h. Signed-off-by: Sam Ravnborg <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Cc: "Christian König" <[email protected]> Cc: "David (ChunMing) Zhou" <[email protected]> Cc: David Airlie <[email protected]> Cc: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/gpio/gpio_base.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/gpio/gpio_base.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/gpio/gpio_base.c b/drivers/gpu/drm/amd/display/dc/gpio/gpio_base.c
index cf76ea2d9f5a..d03b38e80d9b 100644
--- a/drivers/gpu/drm/amd/display/dc/gpio/gpio_base.c
+++ b/drivers/gpu/drm/amd/display/dc/gpio/gpio_base.c
@@ -27,6 +27,8 @@
* Pre-requisites: headers required by header of this unit
*/
+#include <linux/slab.h>
+
#include "dm_services.h"
#include "include/gpio_interface.h"