mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	ieee802154: Fix build error
If REGMAP_SPI is m and IEEE802154_MCR20A is y,
	mcr20a.c:(.text+0x3ed6c5b): undefined reference to `__devm_regmap_init_spi'
	ld: mcr20a.c:(.text+0x3ed6cb5): undefined reference to `__devm_regmap_init_spi'
Select REGMAP_SPI for IEEE802154_MCR20A to fix it.
Fixes: 8c6ad9cc51 ("ieee802154: Add NXP MCR20A IEEE 802.15.4 transceiver driver")
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Link: https://lore.kernel.org/20240909131740.1296608-1-ruanjinjie@huawei.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
			
			
This commit is contained in:
		
							parent
							
								
									b8ec0dc384
								
							
						
					
					
						commit
						addf89774e
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -101,6 +101,7 @@ config IEEE802154_CA8210_DEBUGFS
 | 
				
			||||||
 | 
					
 | 
				
			||||||
config IEEE802154_MCR20A
 | 
					config IEEE802154_MCR20A
 | 
				
			||||||
	tristate "MCR20A transceiver driver"
 | 
						tristate "MCR20A transceiver driver"
 | 
				
			||||||
 | 
						select REGMAP_SPI
 | 
				
			||||||
	depends on IEEE802154_DRIVERS && MAC802154
 | 
						depends on IEEE802154_DRIVERS && MAC802154
 | 
				
			||||||
	depends on SPI
 | 
						depends on SPI
 | 
				
			||||||
	help
 | 
						help
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue