]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/mips/loongson/common/Makefile
MIPS: Loongson: Define rtc device on MC146818-equipped systems
[net-next-2.6.git] / arch / mips / loongson / common / Makefile
index 7668c4de1151b8c89b36d0e0eb126a856a4ec5ef..e526488df6559895f282e6d7b958b8bd81fca7c2 100644 (file)
@@ -4,6 +4,7 @@
 
 obj-y += setup.o init.o cmdline.o env.o time.o reset.o irq.o \
     pci.o bonito-irq.o mem.o machtype.o platform.o
+obj-$(CONFIG_GENERIC_GPIO) += gpio.o
 
 #
 # Serial port support
@@ -11,6 +12,7 @@ obj-y += setup.o init.o cmdline.o env.o time.o reset.o irq.o \
 obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
 obj-$(CONFIG_SERIAL_8250) += serial.o
 obj-$(CONFIG_LOONGSON_UART_BASE) += uart_base.o
+obj-$(CONFIG_LOONGSON_MC146818) += rtc.o
 
 #
 # Enable CS5536 Virtual Support Module(VSM) to virtulize the PCI configure