mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 08:44:41 +00:00 
			
		
		
		
	wilc1000: Rename SPI driver from "WILC_SPI" to "wilc1000_spi"
The name "wilc1000_spi" follows normal Linux conventions and also is analogous to the SDIO driver, which uses "wilc1000_sdio". Signed-off-by: David Mosberger-Tang <davidm@egauge.net> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20211209044411.3482259-2-davidm@egauge.net
This commit is contained in:
		
							parent
							
								
									73bbef64bc
								
							
						
					
					
						commit
						4347d34e6a
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		|  | @ -12,6 +12,8 @@ | |||
| #include "netdev.h" | ||||
| #include "cfg80211.h" | ||||
| 
 | ||||
| #define SPI_MODALIAS		"wilc1000_spi" | ||||
| 
 | ||||
| static bool enable_crc7;	/* protect SPI commands with CRC7 */ | ||||
| module_param(enable_crc7, bool, 0644); | ||||
| MODULE_PARM_DESC(enable_crc7, | ||||
|  | @ -209,7 +211,7 @@ MODULE_DEVICE_TABLE(spi, wilc_spi_id); | |||
| 
 | ||||
| static struct spi_driver wilc_spi_driver = { | ||||
| 	.driver = { | ||||
| 		.name = MODALIAS, | ||||
| 		.name = SPI_MODALIAS, | ||||
| 		.of_match_table = wilc_of_match, | ||||
| 	}, | ||||
| 	.id_table = wilc_spi_id, | ||||
|  |  | |||
|  | @ -213,8 +213,6 @@ | |||
| #define WILC_RX_BUFF_SIZE	(96 * 1024) | ||||
| #define WILC_TX_BUFF_SIZE	(64 * 1024) | ||||
| 
 | ||||
| #define MODALIAS		"WILC_SPI" | ||||
| 
 | ||||
| #define NQUEUES			4 | ||||
| #define AC_BUFFER_SIZE		1000 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 David Mosberger-Tang
						David Mosberger-Tang