summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.3/0062-usb-musb-davinci-fix-build-breakage.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.3/0062-usb-musb-davinci-fix-build-breakage.patch')
-rw-r--r--recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.3/0062-usb-musb-davinci-fix-build-breakage.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.3/0062-usb-musb-davinci-fix-build-breakage.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.3/0062-usb-musb-davinci-fix-build-breakage.patch
new file mode 100644
index 00000000..e2e4d830
--- /dev/null
+++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.3/0062-usb-musb-davinci-fix-build-breakage.patch
@@ -0,0 +1,41 @@
1From 5dc5545c987453cafa4b441522cf61bbb89e80e4 Mon Sep 17 00:00:00 2001
2From: Sekhar Nori <nsekhar@ti.com>
3Date: Wed, 28 Dec 2011 12:02:57 +0530
4Subject: [PATCH 62/90] usb: musb: davinci: fix build breakage
5
6commit 006896fc612f11bf0624db7814a75d0d5410855f upstream.
7
8Commit 0020afb369859472a461ef4af6410732e929d402 (ARM: mach-davinci:
9remove mach/memory.h) removed mach/memory.h for DaVinci which broke
10DaVinci MUSB build.
11
12mach/memory.h is not actually needed in davinci.c, so remove it.
13While at it, also remove some more machine specific inclulde
14files which are not needed for build.
15
16Tested on DM644x EVM using USB card reader.
17
18Signed-off-by: Sekhar Nori <nsekhar@ti.com>
19Signed-off-by: Felipe Balbi <balbi@ti.com>
20Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
21---
22 drivers/usb/musb/davinci.c | 3 ---
23 1 files changed, 0 insertions(+), 3 deletions(-)
24
25diff --git a/drivers/usb/musb/davinci.c b/drivers/usb/musb/davinci.c
26index 4d365d5..3911d9a 100644
27--- a/drivers/usb/musb/davinci.c
28+++ b/drivers/usb/musb/davinci.c
29@@ -33,9 +33,6 @@
30 #include <linux/platform_device.h>
31 #include <linux/dma-mapping.h>
32
33-#include <mach/hardware.h>
34-#include <mach/memory.h>
35-#include <asm/gpio.h>
36 #include <mach/cputype.h>
37
38 #include <asm/mach-types.h>
39--
401.7.7.4
41