Changeset 3364

Show
Ignore:
Timestamp:
09/11/99 14:50:11 (9 years ago)
Author:
frodo
Message:

Very small patches to make compiling against kernel 2.0.0 possible

again.

No testing yet, just a normal compile without kernel patching. Expect more
of these minor patches today,

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • i2c/trunk/Makefile

    r3359 r3364  
    5454# The magic invocation will return something like this: 
    5555#   /lib/modules/2.2.15-ac9/extra/misc 
    56 MODDIR := /lib/modules/`sed -ne '1,4 { s/.*= *\(.*\)/\1/; 1,2 s/.*/&./; p; };' <$(LINUX)/Makefile | tr -d '\n'`/misc 
     56MODDIR := /lib/modules/`sed -ne '1,4 { s/.*= *\(.*\)/\1/; 1,2 s/.*/&./; p; };' <$(LINUX)/Makefile | tr -d '\n'`/extra/misc 
    5757 
    5858# This is the directory into which the header files will be installed. 
     
    135135 
    136136ifeq ($(MODVER),1) 
    137 MODCFLAGS += -DMODVERSIONS -include /usr/include/linux/modversions.h 
     137MODCFLAGS += -DMODVERSIONS -include $(LINUX_HEADERS)/linux/modversions.h 
    138138endif 
    139139 
  • i2c/trunk/kernel/i2c-algo-bit.c

    r3352 r3364  
    5656#define DEB2(x) if (i2c_debug>=2) x; 
    5757#define DEBSTAT(x) if (i2c_debug>=3) x; /* print several statistical values*/ 
    58 #define DEBPROTO(x) if (i2c_debug>=9) x; 
     58#define DEBPROTO(x) if (i2c_debug>=9) { x; } 
    5959        /* debug the protocol by showing transferred bits */ 
    6060