Skip to content

Commit

Permalink
[ARM] pxa: move ssp into common plat-pxa
Browse files Browse the repository at this point in the history
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
  • Loading branch information
Haojian Zhuang authored and Eric Miao committed May 11, 2010
1 parent be1194c commit 54c39b4
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
5 changes: 0 additions & 5 deletions arch/arm/mach-pxa/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -648,11 +648,6 @@ config PXA_SHARP_Cxx00
help
Enable common support for Sharp Cxx00 models

config PXA_SSP
tristate
help
Enable support for PXA2xx SSP ports

config TOSA_BT
tristate "Control the state of built-in bluetooth chip on Sharp SL-6000"
depends on MACH_TOSA
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-pxa/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ obj-$(CONFIG_PXA3xx) += cpufreq-pxa3xx.o
endif

# Generic drivers that other drivers may depend upon
obj-$(CONFIG_PXA_SSP) += ssp.o

# SoC-specific code
obj-$(CONFIG_PXA25x) += mfp-pxa2xx.o pxa2xx.o pxa25x.o
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-pxa/poodle.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@
#include <mach/pxa25x.h>
#include <mach/mmc.h>
#include <mach/udc.h>
#include <plat/i2c.h>
#include <mach/irda.h>
#include <mach/poodle.h>
#include <mach/pxafb.h>
#include <mach/sharpsl.h>
#include <mach/pxa2xx_spi.h>
#include <plat/i2c.h>

#include <asm/hardware/scoop.h>
#include <asm/hardware/locomo.h>
Expand Down
5 changes: 5 additions & 0 deletions arch/arm/plat-pxa/Kconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
if PLAT_PXA

config PXA_SSP
tristate
help
Enable support for PXA2xx SSP ports

endif
1 change: 1 addition & 0 deletions arch/arm/plat-pxa/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ obj-$(CONFIG_PXA3xx) += mfp.o
obj-$(CONFIG_ARCH_MMP) += mfp.o

obj-$(CONFIG_HAVE_PWM) += pwm.o
obj-$(CONFIG_PXA_SSP) += ssp.o
File renamed without changes.
2 changes: 1 addition & 1 deletion arch/arm/mach-pxa/ssp.c → arch/arm/plat-pxa/ssp.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

#include <asm/irq.h>
#include <mach/hardware.h>
#include <mach/ssp.h>
#include <plat/ssp.h>

static DEFINE_MUTEX(ssp_lock);
static LIST_HEAD(ssp_list);
Expand Down
2 changes: 1 addition & 1 deletion drivers/spi/pxa2xx_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#include <asm/delay.h>

#include <mach/dma.h>
#include <mach/ssp.h>
#include <plat/ssp.h>
#include <mach/pxa2xx_spi.h>

MODULE_AUTHOR("Stephen Street");
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/pxa/pxa-ssp.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#include <mach/hardware.h>
#include <mach/dma.h>
#include <mach/audio.h>
#include <mach/ssp.h>
#include <plat/ssp.h>

#include "pxa2xx-pcm.h"
#include "pxa-ssp.h"
Expand Down

0 comments on commit 54c39b4

Please sign in to comment.