How do you read the errors?
I run after having .config -file at /home/aal/build/kernel.
/usr/src/linux-2.6$ make O=/home/aal/build/kernel/
I get
... cut ...
CC [M] drivers/staging/go7007/s2250-board.o
/usr/src/linux-2.6/drivers/staging/go7007/s2250-board.c:24:26: error: s2250-loader.h: No such file or directory
/usr/src/linux-2.6/drivers/staging/go7007/s2250-board.c: In function ‘read_reg_fp’:
/usr/src/linux-2.6/drivers/staging/go7007/s2250-board.c:264: warning: passing argument 1 of ‘down_interruptible’ from incompatible pointer type
/usr/src/linux-2.6/include/linux/semaphore.h:43: note: expected ‘struct semaphore *’ but argument is of type ‘struct mutex *’
/usr/src/linux-2.6/drivers/staging/go7007/s2250-board.c:273: warning: passing argument 1 of ‘up’ from incompatible pointer type
/usr/src/linux-2.6/include/linux/semaphore.h:47: note: expected ‘struct semaphore *’ but argument is of type ‘struct mutex *’
/usr/src/linux-2.6/drivers/staging/go7007/s2250-board.c: In function ‘s2250_init’:
/usr/src/linux-2.6/drivers/staging/go7007/s2250-board.c:670: error: implicit declaration of function ‘s2250loader_init’
/usr/src/linux-2.6/drivers/staging/go7007/s2250-board.c:676: error: implicit declaration of function ‘s2250loader_cleanup’
make[4]: *** [drivers/staging/go7007/s2250-board.o] Error 1
make[3]: *** [drivers/staging/go7007] Error 2
make[2]: *** [drivers/staging] Error 2
make[1]: *** [drivers] Error 2
make: *** [sub-make] Error 2