compile error in spiflash.c

<[email protected]>
Newsgroups gmane.os.netbsd.ports.evbmips
Message-ID <20070714144923.PAOL16877.ibm56aec.bellsouth.net@mail.bellsouth.net>
Hi there!

I am trying to compile the current cvs code for the Meraki Mini using the following command:

./build.sh -m evbmips-eb kernel=MERAKI

and I'm running across a compile error:

/usr/src/sys/dev/spi/spiflash.c: In function 'spiflash_attach':
/usr/src/sys/dev/spi/spiflash.c:240: error: 'arg' undeclared (first use in this function)
/usr/src/sys/dev/spi/spiflash.c:240: error: (Each undeclared identifier is reported only once
/usr/src/sys/dev/spi/spiflash.c:240: error: for each function it appears in.)
cc1: warnings being treated as errors
/usr/src/sys/dev/spi/spiflash.c:241: warning: passing argument 6 of 'kthread_create' from incompatible pointer type

*** Failed target:  spiflash.o

I have to say that this is my first delve into netbsd kernel code, but the identifier arg doesn't exist in the program there.  Any suggestions?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.