From: Florian Fainelli Date: Mon, 7 Dec 2009 14:28:43 +0000 (+0000) Subject: spi: fix spidev compilation failure when VERBOSE is defined X-Git-Tag: v2.6.33-rc1~279^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41df70d9ac2d0d36b23a0ec4866f67e540f366ff;p=pandora-kernel.git spi: fix spidev compilation failure when VERBOSE is defined When VERBOSE is defined in the spidev module, the compilation will throw an error on 'spi' not being defined: CC [M] drivers/spi/spidev.o drivers/spi/spidev.c: In function 'spidev_message': drivers/spi/spidev.c:266: error: 'spi' undeclared (first use in this function) drivers/spi/spidev.c:266: error: (Each undeclared identifier is reported only once drivers/spi/spidev.c:266: error: for each function it appears in.) instead of using spi-> we should actually use spidev->spi. This patch fixes the build failure. Signed-off-by: Florian Fainelli Signed-off-by: Grant Likely --- Reading git-diff-tree failed