summaryrefslogtreecommitdiff
path: root/hsspi.c
diff options
context:
space:
mode:
Diffstat (limited to 'hsspi.c')
-rw-r--r--hsspi.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/hsspi.c b/hsspi.c
index 3b39ae7..1170ca1 100644
--- a/hsspi.c
+++ b/hsspi.c
@@ -52,8 +52,6 @@
#define HSSPI_MANUAL_CS_SETUP_US SPI_CS_SETUP_DELAY_US
#endif
-extern int spi_speed_hz;
-
struct hsspi_work {
struct list_head list;
enum hsspi_work_type type;
@@ -217,13 +215,11 @@ static int spi_xfer(struct hsspi *hsspi, const void *tx, void *rx,
.tx_buf = hsspi->host,
.rx_buf = hsspi->soc,
.len = sizeof(*(hsspi->host)),
- .speed_hz = spi_speed_hz,
},
{
.tx_buf = tx,
.rx_buf = rx,
.len = length,
- .speed_hz = spi_speed_hz,
},
};
int ret, retry = 5;