spi_bfin: use more useful GPIO labels
PATCH 2/6 spi_bfin: use more useful GPIO labels
From: Bryan Wu <[email protected]>
Use the SPI driver's name when requesting gpio lines. When there are gpio conflicts, this helps to narrow down the problems; "bfin-spi" is not informative.
Signed-off-by Bryan Wu <[email protected]>
Signed-off-by David Brownell <[email protected]>
--- drivers/spi/spi_bfin5xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/spi_bfin5xx.c +1 -1
@@ -1176,7 +1176,7 @@ static int setup(struct spi_device *spi)if ((chip->chip_select_num >0 ) && (chip->chip_select_num <= spi->master->num_chipselect))peripheral_request (ssel[spi->master->bus_num] - [chip->chip_select_num-1 ],DRV_NAME ); + [chip->chip_select_num-1 ], spi->modalias);cs_deactive (drv_data, chip);
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/