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(-)
--- g26.orig/drivers/spi/spi_bfin5xx.c 2008-01-31 11:51:58.000000000 -0800
+++ g26/drivers/spi/spi_bfin5xx.c 2008-01-31 11:51:59.000000000 -0800
@@ -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/
_______________________________________________
spi-devel-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spi-devel-general