From deeac7e41a311a0806af0e65a2ce5c6673f9cf92 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Sat, 22 Apr 2017 00:09:42 +0200 Subject: spi: Drop spi_controller type Not needed anymore. Drop it fast before it encourages anyone to violate layers again! Change-Id: I8eda93b429e3ebaef79e22aba76be62987e496f4 Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/c/flashrom/+/33651 Reviewed-by: Angel Pons --- ch341a_spi.c | 1 - 1 file changed, 1 deletion(-) (limited to 'ch341a_spi.c') diff --git a/ch341a_spi.c b/ch341a_spi.c index 83d5ccf35..d3af32f10 100644 --- a/ch341a_spi.c +++ b/ch341a_spi.c @@ -385,7 +385,6 @@ static int ch341a_spi_spi_send_command(struct flashctx *flash, unsigned int writ } static const struct spi_master spi_master_ch341a_spi = { - .type = SPI_CONTROLLER_CH341A_SPI, .features = SPI_MASTER_4BA, /* flashrom's current maximum is 256 B. CH341A was tested on Linux and Windows to accept atleast * 128 kB. Basically there should be no hard limit because transfers are broken up into USB packets -- cgit v1.2.3