Skip to content

Commit

Permalink
spi: bcm2835: fixed compile issues due to embedded comments... replac…
Browse files Browse the repository at this point in the history
…ed with #if to avoid issues in the future.

Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
  • Loading branch information
msperl authored and popcornmix committed Aug 17, 2015
1 parent 3a66d06 commit e18f001
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/spi/spi-bcm2835.c
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,7 @@ static int bcm2835_spi_transfer_one(struct spi_master *master,
return bcm2835_spi_transfer_one_irq(master, spi, tfr, cs);
}

#if 0
static void bcm2835_spi_handle_err(struct spi_master *master,
struct spi_message *msg)
{
Expand All @@ -606,6 +607,7 @@ static void bcm2835_spi_handle_err(struct spi_master *master,
/* and reset */
bcm2835_spi_reset_hw(master);
}
#endif

static void bcm2835_spi_set_cs(struct spi_device *spi, bool gpio_level)
{
Expand Down

0 comments on commit e18f001

Please sign in to comment.