Skip to content

Commit

Permalink
ARM: SAMSUNG: Cleanup plat-samsung/devs.c and devs.h
Browse files Browse the repository at this point in the history
This patch merges each dev files to one devs.c file in
plat-samsung directory and this help to keep it more
easily to reduce plat- directories such as plat-s3c24xx
and plat-s5p.

Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
  • Loading branch information
Kukjin Kim committed Oct 6, 2011
1 parent 5716714 commit bad1e6a
Show file tree
Hide file tree
Showing 29 changed files with 1,058 additions and 1,605 deletions.
28 changes: 1 addition & 27 deletions arch/arm/plat-samsung/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ obj-y += init.o cpu.o
obj-$(CONFIG_ARCH_USES_GETTIMEOFFSET) += time.o
obj-y += clock.o
obj-y += pwm-clock.o
obj-y += dev-asocdma.o

obj-$(CONFIG_SAMSUNG_CLKSRC) += clock-clksrc.o

Expand All @@ -31,33 +30,8 @@ obj-$(CONFIG_S3C_ADC) += adc.o
obj-y += platformdata.o

obj-y += devs.o
obj-$(CONFIG_S3C_DEV_HSMMC) += dev-hsmmc.o
obj-$(CONFIG_S3C_DEV_HSMMC1) += dev-hsmmc1.o
obj-$(CONFIG_S3C_DEV_HSMMC2) += dev-hsmmc2.o
obj-$(CONFIG_S3C_DEV_HSMMC3) += dev-hsmmc3.o
obj-$(CONFIG_S3C_DEV_HWMON) += dev-hwmon.o
obj-y += dev-i2c0.o
obj-$(CONFIG_S3C_DEV_I2C1) += dev-i2c1.o
obj-$(CONFIG_S3C_DEV_I2C2) += dev-i2c2.o
obj-$(CONFIG_S3C_DEV_I2C3) += dev-i2c3.o
obj-$(CONFIG_S3C_DEV_I2C4) += dev-i2c4.o
obj-$(CONFIG_S3C_DEV_I2C5) += dev-i2c5.o
obj-$(CONFIG_S3C_DEV_I2C6) += dev-i2c6.o
obj-$(CONFIG_S3C_DEV_I2C7) += dev-i2c7.o
obj-$(CONFIG_S3C_DEV_FB) += dev-fb.o
obj-y += dev-uart.o
obj-$(CONFIG_S3C_DEV_USB_HOST) += dev-usb.o
obj-$(CONFIG_S3C_DEV_USB_HSOTG) += dev-usb-hsotg.o
obj-$(CONFIG_S3C_DEV_WDT) += dev-wdt.o
obj-$(CONFIG_S3C_DEV_NAND) += dev-nand.o
obj-$(CONFIG_S3C_DEV_ONENAND) += dev-onenand.o
obj-$(CONFIG_S3C_DEV_RTC) += dev-rtc.o

obj-$(CONFIG_SAMSUNG_DEV_ADC) += dev-adc.o
obj-$(CONFIG_SAMSUNG_DEV_IDE) += dev-ide.o
obj-$(CONFIG_SAMSUNG_DEV_TS) += dev-ts.o
obj-$(CONFIG_SAMSUNG_DEV_KEYPAD) += dev-keypad.o
obj-$(CONFIG_SAMSUNG_DEV_PWM) += dev-pwm.o

obj-$(CONFIG_SAMSUNG_DEV_BACKLIGHT) += dev-backlight.o

# DMA support
Expand Down
46 changes: 0 additions & 46 deletions arch/arm/plat-samsung/dev-adc.c

This file was deleted.

35 changes: 0 additions & 35 deletions arch/arm/plat-samsung/dev-asocdma.c

This file was deleted.

63 changes: 0 additions & 63 deletions arch/arm/plat-samsung/dev-fb.c

This file was deleted.

62 changes: 0 additions & 62 deletions arch/arm/plat-samsung/dev-hsmmc.c

This file was deleted.

62 changes: 0 additions & 62 deletions arch/arm/plat-samsung/dev-hsmmc1.c

This file was deleted.

63 changes: 0 additions & 63 deletions arch/arm/plat-samsung/dev-hsmmc2.c

This file was deleted.

Loading

0 comments on commit bad1e6a

Please sign in to comment.