diff options
author | Florian Fainelli <ffainelli@freebox.fr> | 2009-12-07 09:28:43 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2009-12-08 20:48:17 -0500 |
commit | 41df70d9ac2d0d36b23a0ec4866f67e540f366ff (patch) | |
tree | 58a076d61fde0371d7b04f9fb7db0abf9fe37618 /drivers/atm/atmtcp.c | |
parent | 04ba24b34ac8ea4885295a7f7f78f719bc8c859b (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/atm/atmtcp.c')
0 files changed, 0 insertions, 0 deletions