MIPS: PowerTV: Separate PowerTV USB support from non-USB code
[sfrench/cifs-2.6.git] / arch / mips / powertv / Makefile
index 0a0d73c0564fa9d4743d6417f73c653ae38b754d..baf6e9092a9f84b941b37986dac89a289b5225a8 100644 (file)
@@ -23,6 +23,9 @@
 # under Linux.
 #
 
-obj-y += init.o memory.o reset.o time.o powertv_setup.o asic/ pci/
+obj-y += init.o ioremap.o memory.o powertv_setup.o reset.o time.o \
+       asic/ pci/
 
-EXTRA_CFLAGS += -Wall -Werror
+obj-$(CONFIG_USB) += powertv-usb.o
+
+EXTRA_CFLAGS += -Wall