diff options
author | Olof Johansson <olof@lixom.net> | 2014-05-26 17:43:34 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2014-05-26 17:43:34 -0400 |
commit | 03a2ec647be0394b2b94b7a6a8af2310ad704c72 (patch) | |
tree | 8f0c576d72ee7c141e956044b5db222e296a7216 | |
parent | a915dfabb51cc807cbb3dd106e051763d27f388c (diff) | |
parent | ea56785629494394b9e567c0a43690d6c972e137 (diff) |
Merge tag 'davinci-for-v3.16/board' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci into next/boards
Merge "DaVinci board changes for v3.16" from Sekhar Nori:
This patch clean-up an unused #define from code.
* tag 'davinci-for-v3.16/board' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci:
ARM: davinci: remove checks for CONFIG_USB_MUSB_PERIPHERAL
Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r-- | arch/arm/configs/davinci_all_defconfig | 1 | ||||
-rw-r--r-- | arch/arm/mach-davinci/board-dm355-evm.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-davinci/board-dm355-leopard.c | 4 |
3 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/configs/davinci_all_defconfig b/arch/arm/configs/davinci_all_defconfig index 2a282c051cfd..2f8ff65e3ef1 100644 --- a/arch/arm/configs/davinci_all_defconfig +++ b/arch/arm/configs/davinci_all_defconfig | |||
@@ -160,7 +160,6 @@ CONFIG_USB=m | |||
160 | CONFIG_USB_DEVICEFS=y | 160 | CONFIG_USB_DEVICEFS=y |
161 | CONFIG_USB_MON=m | 161 | CONFIG_USB_MON=m |
162 | CONFIG_USB_MUSB_HDRC=m | 162 | CONFIG_USB_MUSB_HDRC=m |
163 | CONFIG_USB_MUSB_PERIPHERAL=y | ||
164 | CONFIG_USB_GADGET_MUSB_HDRC=y | 163 | CONFIG_USB_GADGET_MUSB_HDRC=y |
165 | CONFIG_MUSB_PIO_ONLY=y | 164 | CONFIG_MUSB_PIO_ONLY=y |
166 | CONFIG_USB_STORAGE=m | 165 | CONFIG_USB_STORAGE=m |
diff --git a/arch/arm/mach-davinci/board-dm355-evm.c b/arch/arm/mach-davinci/board-dm355-evm.c index ecdc7d44fa70..06d63d5651f3 100644 --- a/arch/arm/mach-davinci/board-dm355-evm.c +++ b/arch/arm/mach-davinci/board-dm355-evm.c | |||
@@ -350,11 +350,7 @@ static struct davinci_mmc_config dm355evm_mmc_config = { | |||
350 | * you have proper Mini-B or Mini-A cables (or Mini-A adapters) | 350 | * you have proper Mini-B or Mini-A cables (or Mini-A adapters) |
351 | * the ID pin won't need any help. | 351 | * the ID pin won't need any help. |
352 | */ | 352 | */ |
353 | #ifdef CONFIG_USB_MUSB_PERIPHERAL | ||
354 | #define USB_ID_VALUE 0 /* ID pulled high; *should* float */ | ||
355 | #else | ||
356 | #define USB_ID_VALUE 1 /* ID pulled low */ | 353 | #define USB_ID_VALUE 1 /* ID pulled low */ |
357 | #endif | ||
358 | 354 | ||
359 | static struct spi_eeprom at25640a = { | 355 | static struct spi_eeprom at25640a = { |
360 | .byte_len = SZ_64K / 8, | 356 | .byte_len = SZ_64K / 8, |
diff --git a/arch/arm/mach-davinci/board-dm355-leopard.c b/arch/arm/mach-davinci/board-dm355-leopard.c index 43bacbf15314..680a7a2d9102 100644 --- a/arch/arm/mach-davinci/board-dm355-leopard.c +++ b/arch/arm/mach-davinci/board-dm355-leopard.c | |||
@@ -208,11 +208,7 @@ static struct davinci_mmc_config dm355leopard_mmc_config = { | |||
208 | * you have proper Mini-B or Mini-A cables (or Mini-A adapters) | 208 | * you have proper Mini-B or Mini-A cables (or Mini-A adapters) |
209 | * the ID pin won't need any help. | 209 | * the ID pin won't need any help. |
210 | */ | 210 | */ |
211 | #ifdef CONFIG_USB_MUSB_PERIPHERAL | ||
212 | #define USB_ID_VALUE 0 /* ID pulled high; *should* float */ | ||
213 | #else | ||
214 | #define USB_ID_VALUE 1 /* ID pulled low */ | 211 | #define USB_ID_VALUE 1 /* ID pulled low */ |
215 | #endif | ||
216 | 212 | ||
217 | static struct spi_eeprom at25640a = { | 213 | static struct spi_eeprom at25640a = { |
218 | .byte_len = SZ_64K / 8, | 214 | .byte_len = SZ_64K / 8, |