aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-3.10/0150-Cleanup-include-for-files-under-include-linux.patch
blob: 53c4a231094b136a81d00c99b0caad9b71763518 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
From 6815e4637c297d0932c622084006b662401ba09b Mon Sep 17 00:00:00 2001
From: Daniel Santos <daniel.santos@pobox.com>
Date: Fri, 3 Jan 2014 17:24:46 -0600
Subject: [PATCH 150/196] Cleanup include for files under include/linux

Adding include/linux/anything is bad form. This fixes this prior to
other changes that touches this Makefile.
---
 drivers/char/broadcom/vc_cma/Makefile | 1 -
 drivers/char/broadcom/vc_cma/vc_cma.c | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/char/broadcom/vc_cma/Makefile b/drivers/char/broadcom/vc_cma/Makefile
index ae71918..61682bf 100644
--- a/drivers/char/broadcom/vc_cma/Makefile
+++ b/drivers/char/broadcom/vc_cma/Makefile
@@ -1,6 +1,5 @@
 EXTRA_CFLAGS  += -Wall -Wstrict-prototypes -Wno-trigraphs
 EXTRA_CFLAGS  += -Werror
-EXTRA_CFLAGS  += -I"include/linux/broadcom"
 EXTRA_CFLAGS  += -I"drivers/misc/vc04_services"
 EXTRA_CFLAGS  += -I"drivers/misc/vc04_services/interface/vchi"
 EXTRA_CFLAGS  += -I"drivers/misc/vc04_services/interface/vchiq_arm"
diff --git a/drivers/char/broadcom/vc_cma/vc_cma.c b/drivers/char/broadcom/vc_cma/vc_cma.c
index fe80887..13485c1 100644
--- a/drivers/char/broadcom/vc_cma/vc_cma.c
+++ b/drivers/char/broadcom/vc_cma/vc_cma.c
@@ -46,7 +46,7 @@
 #include <linux/uaccess.h>
 #include <asm/cacheflush.h>
 
-#include "vc_cma.h"
+#include <linux/broadcom/vc_cma.h>
 
 #include "vchiq_util.h"
 #include "vchiq_connected.h"
-- 
1.9.1