summaryrefslogtreecommitdiff
path: root/chip/it83xx/spi_controller.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/it83xx/spi_controller.c')
-rw-r--r--chip/it83xx/spi_controller.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/chip/it83xx/spi_controller.c b/chip/it83xx/spi_controller.c
index d3898deef6..aaab27e138 100644
--- a/chip/it83xx/spi_controller.c
+++ b/chip/it83xx/spi_controller.c
@@ -1,4 +1,4 @@
-/* Copyright 2015 The Chromium OS Authors. All rights reserved.
+/* Copyright 2015 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -17,7 +17,7 @@
/* Console output macros */
#define CPUTS(outstr) cputs(CC_SPI, outstr)
-#define CPRINTS(format, args...) cprints(CC_SPI, format, ## args)
+#define CPRINTS(format, args...) cprints(CC_SPI, format, ##args)
enum sspi_clk_sel {
sspi_clk_24mhz = 0,
@@ -106,8 +106,8 @@ int spi_enable(const struct spi_device_t *spi_device, int enable)
}
int spi_transaction(const struct spi_device_t *spi_device,
- const uint8_t *txdata, int txlen,
- uint8_t *rxdata, int rxlen)
+ const uint8_t *txdata, int txlen, uint8_t *rxdata,
+ int rxlen)
{
int idx;
uint8_t port = spi_device->port;