Another 2.6.37-rc8 build failure on alpha:
CC [M] drivers/i2c/busses/i2c-i801.o
drivers/i2c/busses/i2c-i801.c: In function 'i801_probe':
drivers/i2c/busses/i2c-i801.c:737: error: implicit declaration of function 'kzalloc'
drivers/i2c/busses/i2c-i801.c:737: warning: assignment makes pointer from integer without a cast
drivers/i2c/busses/i2c-i801.c:855: error: implicit declaration of function 'kfree'
make: *** [drivers/i2c/busses/i2c-i801.o] Error 1
make: *** [drivers/i2c/busses] Error 2
make: *** [drivers/i2c] Error 2
make: *** [drivers] Error 2
The x86 version of <asm/pci.h> includes <linux/slab.h> which hides the
problem on x86 at least. There was a big cleanup of implicit
<linux/slab.h> inclusions few months ago which has exposed the
It's a bug in the driver, just add the include there.