projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: add AR934X specific bootstrap and reset register bits
[openwrt.git]
/
target
/
linux
/
ar71xx
/
files
/
drivers
/
spi
/
ap83_spi.c
diff --git
a/target/linux/ar71xx/files/drivers/spi/ap83_spi.c
b/target/linux/ar71xx/files/drivers/spi/ap83_spi.c
index
eada5fe
..
de8780d
100644
(file)
--- a/
target/linux/ar71xx/files/drivers/spi/ap83_spi.c
+++ b/
target/linux/ar71xx/files/drivers/spi/ap83_spi.c
@@
-37,8
+37,8
@@
#define AP83_SPI_GPIO_MISO 3
struct ap83_spi {
#define AP83_SPI_GPIO_MISO 3
struct ap83_spi {
- struct spi_bitbang bitbang;
- void __iomem *base;
+ struct spi_bitbang bitbang;
+ void __iomem *base;
u32 addr;
struct platform_device *pdev;
u32 addr;
struct platform_device *pdev;
@@
-230,15
+230,15
@@
static int ap83_spi_probe(struct platform_device *pdev)
return 0;
return 0;
-
err_unmap:
+err_unmap:
iounmap(sp->base);
iounmap(sp->base);
-
err_spi_put:
+err_spi_put:
platform_set_drvdata(pdev, NULL);
spi_master_put(sp->bitbang.master);
platform_set_drvdata(pdev, NULL);
spi_master_put(sp->bitbang.master);
-
err_free_cs:
+err_free_cs:
gpio_free(AP83_SPI_GPIO_CS);
gpio_free(AP83_SPI_GPIO_CS);
-
err_free_miso:
+err_free_miso:
gpio_free(AP83_SPI_GPIO_MISO);
return ret;
}
gpio_free(AP83_SPI_GPIO_MISO);
return ret;
}
This page took
0.021621 seconds
and
4
git commands to generate.