[alsa-devel] ASoC: Build error if CONFIG_I2C=m && CONFIG_SND_SOC=y
 
            
            
            
            
                6 Dec
                
                    2011
                
            
            
                6 Dec
                
                '11
                
            
            
            
        
    
                1:43 p.m.
            
        Hi, I got below build error if CONFIG_I2C=m && CONFIG_SND_SOC=y.
LD vmlinux sound/built-in.o: In function `snd_soc_codec_set_cache_io': last.c:(.text+0x2a0a8): undefined reference to `regmap_init_i2c' make: *** [vmlinux] Error 1
( I test the build on linux-next 20111206 )
Regards, Axel
 
            
            
            
            
                6 Dec
                
            
            
                6 Dec
                
            
            
            
        
    
                3:09 p.m.
            
        On Tue, Dec 06, 2011 at 08:43:24PM +0800, Axel Lin wrote:
I got below build error if CONFIG_I2C=m && CONFIG_SND_SOC=y.
LD vmlinux sound/built-in.o: In function `snd_soc_codec_set_cache_io': last.c:(.text+0x2a0a8): undefined reference to `regmap_init_i2c' make: *** [vmlinux] Error 1
( I test the build on linux-next 20111206 )
If someone wants to do the Kconfig or whatever to handle that they're welcome to but it's frankly unrealistic so...
        5078
        
      
          Age (days ago)
        
      
        5078
        
    
          Last active (days ago)
        
        
        
        1 comments
    
    
        
        2 participants
    
    
    
    
    
    
    
    
    participants (2)
- 
                 Axel Lin Axel Lin
- 
                 Mark Brown Mark Brown