summaryrefslogtreecommitdiff
path: root/drivers/spi/Makefile
diff options
context:
space:
mode:
authorFlorian Fainelli <ffainelli@freebox.fr>2009-12-07 14:28:43 +0000
committerGrant Likely <grant.likely@secretlab.ca>2009-12-08 18:48:17 -0700
commit41df70d9ac2d0d36b23a0ec4866f67e540f366ff (patch)
tree58a076d61fde0371d7b04f9fb7db0abf9fe37618 /drivers/spi/Makefile
parent04ba24b34ac8ea4885295a7f7f78f719bc8c859b (diff)
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 <ffainelli@freebox.fr> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi/Makefile')
0 files changed, 0 insertions, 0 deletions