build diagnostic kernel

Hi,

I am trying to build beagleboard diagnostic kernel from
http://gitorious.org/beagleboard-diagnostic-kernel

then build dsplink module to run on beagleboard validation from this
page
http://code.google.com/p/beagleboard/wiki/BeagleboardRevCValidation

I use CodeSourcery 2009 and type command from here
http://elinux.org/BeagleBoard#Linux_kernel

make CROSS_COMPILE=arm-angstrom-linux-gnueabi- distclean
make CROSS_COMPILE=arm-angstrom-linux-gnueabi- omap3_beagle_defconfig
make CROSS_COMPILE=arm-angstrom-linux-gnueabi- uImage

It failed with following errors.
arch/arm/mach-omap2/board-omap3beagle.c: In function
'beagle_twl_gpio_setup':
arch/arm/mach-omap2/board-omap3beagle.c:132: error: 'TWL4030_GPIO_MAX'
undeclared (first use in this function)
arch/arm/mach-omap2/board-omap3beagle.c:132: error: (Each undeclared
identifier is reported only once
arch/arm/mach-omap2/board-omap3beagle.c:132: error: for each function
it appears in.)
arch/arm/mach-omap2/board-omap3beagle.c: At top level:
arch/arm/mach-omap2/board-omap3beagle.c:141: error: variable
'beagle_gpio_data' has initializer but incomplete type

I think the kernel source is missing something. But maybe I might
missed some steps, because this is the kernel used to create
validation uImage for beagleboard which is actually working. somebody
must have compiled it. I really need help on this. I need to work on
application that utilized dsplink.

Thank you.

Arif