diff options
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.patch | 41 |
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 @@ | |||
1 | From 5dc5545c987453cafa4b441522cf61bbb89e80e4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Sekhar Nori <nsekhar@ti.com> | ||
3 | Date: Wed, 28 Dec 2011 12:02:57 +0530 | ||
4 | Subject: [PATCH 62/90] usb: musb: davinci: fix build breakage | ||
5 | |||
6 | commit 006896fc612f11bf0624db7814a75d0d5410855f upstream. | ||
7 | |||
8 | Commit 0020afb369859472a461ef4af6410732e929d402 (ARM: mach-davinci: | ||
9 | remove mach/memory.h) removed mach/memory.h for DaVinci which broke | ||
10 | DaVinci MUSB build. | ||
11 | |||
12 | mach/memory.h is not actually needed in davinci.c, so remove it. | ||
13 | While at it, also remove some more machine specific inclulde | ||
14 | files which are not needed for build. | ||
15 | |||
16 | Tested on DM644x EVM using USB card reader. | ||
17 | |||
18 | Signed-off-by: Sekhar Nori <nsekhar@ti.com> | ||
19 | Signed-off-by: Felipe Balbi <balbi@ti.com> | ||
20 | Signed-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 | |||
25 | diff --git a/drivers/usb/musb/davinci.c b/drivers/usb/musb/davinci.c | ||
26 | index 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 | -- | ||
40 | 1.7.7.4 | ||
41 | |||