drivers/char/my2440_adc.c:43: warning: data definition has no type or storage class
drivers/char/my2440_adc.c:43: warning: type defaults to 'int' in declaration of 'DECLARE_MUTEX'
drivers/char/my2440_adc.c:43: warning: parameter names (without types) in function declaration
drivers/char/my2440_adc.c: In function 's3c2440_adc_read':
drivers/char/my2440_adc.c:90: error: 'ADC_LOCK' undeclared (first use in this function)
drivers/char/my2440_adc.c:90: error: (Each undeclared identifier is reported only once
drivers/char/my2440_adc.c:90: error: for each function it appears in.)
drivers/char/my2440_adc.c: At top level:
drivers/char/my2440_adc.c:194: error: 'ADC_LOCK' undeclared here (not in a function)
drivers/char/my2440_adc.c:194: warning: type defaults to 'int' in declaration of 'ADC_LOCK'
其他的全都编译出.o文件了,就是这个DECLARE_MUTEX()宏定义,在2.6.32版本没有问题,为什么到了2.6.38就不行了???