499634af4838fc6f5e7482d7aeb3ae069f82cedd
[openwrt/staging/yousong.git] / target / linux / brcm2708 / patches-3.10 / 0150-Cleanup-include-for-files-under-include-linux.patch
1 From d8088f3740de018fd6ae975f290db057194fe243 Mon Sep 17 00:00:00 2001
2 From: Daniel Santos <daniel.santos@pobox.com>
3 Date: Fri, 3 Jan 2014 17:24:46 -0600
4 Subject: [PATCH 150/174] Cleanup include for files under include/linux
5
6 Adding include/linux/anything is bad form. This fixes this prior to
7 other changes that touches this Makefile.
8 ---
9 drivers/char/broadcom/vc_cma/Makefile | 1 -
10 drivers/char/broadcom/vc_cma/vc_cma.c | 2 +-
11 2 files changed, 1 insertion(+), 2 deletions(-)
12
13 --- a/drivers/char/broadcom/vc_cma/Makefile
14 +++ b/drivers/char/broadcom/vc_cma/Makefile
15 @@ -1,6 +1,5 @@
16 EXTRA_CFLAGS += -Wall -Wstrict-prototypes -Wno-trigraphs
17 EXTRA_CFLAGS += -Werror
18 -EXTRA_CFLAGS += -I"include/linux/broadcom"
19 EXTRA_CFLAGS += -I"drivers/misc/vc04_services"
20 EXTRA_CFLAGS += -I"drivers/misc/vc04_services/interface/vchi"
21 EXTRA_CFLAGS += -I"drivers/misc/vc04_services/interface/vchiq_arm"
22 --- a/drivers/char/broadcom/vc_cma/vc_cma.c
23 +++ b/drivers/char/broadcom/vc_cma/vc_cma.c
24 @@ -46,7 +46,7 @@
25 #include <linux/uaccess.h>
26 #include <asm/cacheflush.h>
27
28 -#include "vc_cma.h"
29 +#include <linux/broadcom/vc_cma.h>
30
31 #include "vchiq_util.h"
32 #include "vchiq_connected.h"