http://git.etherboot.org
/
people
/
mcb30
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
be6ada2
)
Fix prototype mismatch.
author
Michael Brown
<mcb30@etherboot.org>
Thu, 6 Dec 2007 23:35:37 +0000
(23:35 +0000)
committer
Michael Brown
<mcb30@etherboot.org>
Thu, 6 Dec 2007 23:35:37 +0000
(23:35 +0000)
src/drivers/nvs/spi.c
patch
|
blob
|
history
diff --git
a/src/drivers/nvs/spi.c
b/src/drivers/nvs/spi.c
index
a5bd46a
..
fba6b6d
100644
(file)
--- a/
src/drivers/nvs/spi.c
+++ b/
src/drivers/nvs/spi.c
@@
-80,7
+80,7
@@
static int spi_wait ( struct spi_device *device ) {
* @ret rc Return status code
*/
int spi_read ( struct nvs_device *nvs, unsigned int address,
* @ret rc Return status code
*/
int spi_read ( struct nvs_device *nvs, unsigned int address,
- void *data,
unsigned in
t len ) {
+ void *data,
size_
t len ) {
struct spi_device *device = nvs_to_spi ( nvs );
struct spi_bus *bus = device->bus;
unsigned int command = spi_command ( SPI_READ, address,
struct spi_device *device = nvs_to_spi ( nvs );
struct spi_bus *bus = device->bus;
unsigned int command = spi_command ( SPI_READ, address,
@@
-107,7
+107,7
@@
int spi_read ( struct nvs_device *nvs, unsigned int address,
* @ret rc Return status code
*/
int spi_write ( struct nvs_device *nvs, unsigned int address,
* @ret rc Return status code
*/
int spi_write ( struct nvs_device *nvs, unsigned int address,
- const void *data,
unsigned in
t len ) {
+ const void *data,
size_
t len ) {
struct spi_device *device = nvs_to_spi ( nvs );
struct spi_bus *bus = device->bus;
unsigned int command = spi_command ( SPI_WRITE, address,
struct spi_device *device = nvs_to_spi ( nvs );
struct spi_bus *bus = device->bus;
unsigned int command = spi_command ( SPI_WRITE, address,