summaryrefslogtreecommitdiff
path: root/include/spi.h
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2018-11-20 15:06:35 +0530
committerJagan Teki <jagan@amarulasolutions.com>2018-11-27 21:06:53 +0530
commite2cae514725568bb4d3f8588c816f6ca521fa68f (patch)
treea10388f8e936631547326e138490c2590b7a76ed /include/spi.h
parent3ae6030cf9587d310ee9cb8c3b17e9a8693f7636 (diff)
spi: Remove unused spi_init
Remove spi_init definition which never used on respective code since from many years. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'include/spi.h')
-rw-r--r--include/spi.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/spi.h b/include/spi.h
index 938627bc01..92427e5f32 100644
--- a/include/spi.h
+++ b/include/spi.h
@@ -118,13 +118,6 @@ struct spi_slave {
};
/**
- * Initialization, must be called once on start up.
- *
- * TODO: I don't think we really need this.
- */
-void spi_init(void);
-
-/**
* spi_do_alloc_slave - Allocate a new SPI slave (internal)
*
* Allocate and zero all fields in the spi slave, and set the bus/chip