diff options
author | Florian Fainelli <ffainelli@freebox.fr> | 2009-12-07 14:28:43 +0000 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2009-12-08 18:48:17 -0700 |
commit | 41df70d9ac2d0d36b23a0ec4866f67e540f366ff (patch) | |
tree | 58a076d61fde0371d7b04f9fb7db0abf9fe37618 /drivers/ide/alim15x3.c | |
parent | 04ba24b34ac8ea4885295a7f7f78f719bc8c859b (diff) | |
download | op-kernel-dev-41df70d9ac2d0d36b23a0ec4866f67e540f366ff.zip op-kernel-dev-41df70d9ac2d0d36b23a0ec4866f67e540f366ff.tar.gz |
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/ide/alim15x3.c')
0 files changed, 0 insertions, 0 deletions