]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
i2c: fixed bug in makefile
authorJohn Linn <john.linn@xilinx.com>
Fri, 11 Sep 2009 19:57:29 +0000 (13:57 -0600)
committerJohn Linn <john.linn@xilinx.com>
Fri, 11 Sep 2009 19:57:29 +0000 (13:57 -0600)
The xilinx i2c driver was using the env var topdir to access the
xilinx common driver header files. This no longer works and is not
needed.

Signed-off-by: John Linn <john.linn@xilinx.com>
drivers/i2c/algos/xilinx_iic/Makefile

index 80e351ac67cf1987a5ff7303138da5e44ebb1c45..608dd40430247bbac0f9819a4c9449113e97ef3b 100644 (file)
@@ -2,7 +2,7 @@
 # Makefile for the Xilinx IIC driver
 #
 
-EXTRA_CFLAGS   += -I$(TOPDIR)/drivers/xilinx_common
+EXTRA_CFLAGS   += -Idrivers/xilinx_common
 
 obj-$(CONFIG_XILINX_IIC) := xilinx_iic.o