 
            
            
            
            
                24 Jul
                
                    2012
                
            
            
                24 Jul
                
                '12
                
            
            
            
        
    
                10:22 p.m.
            
        Daniel Mack wrote:
+/*
- cs4270_of_match - the device tree bindings
- */
+static const struct of_device_id cs4270_of_match[] = {
- { .compatible = "cirrus,cs4270", },
- { }
+}; +MODULE_DEVICE_TABLE(of, cs4270_of_match);
Why is this necessary? The CS4270 driver works just fine on our device-tree enabled boards.
-- 
Timur Tabi
Linux kernel developer at Freescale