error: dereferencing pointer to incomplete type

/ * **************************** *********************************************************** 
 * error: dereferencing pointer to - incomplete of the type 
 * Description: 
 * debug display driver, print of_node message the error; 
 * 
 * 2019-5-31 Baoan District, Shenzhen Zeng Jianfeng 
 *********************************** ****************************************** * / 

a, reference documents 
    1 . resolve the compilation error: dereferencing pointer to incomplete type approach 
        HTTPS: // www.cnblogs.com/qunxuan/p/4080730.html 
    
Second, the solution to 
    a problem:. printk ( " % S: of_node-> name:% S \ n-, of_node-> FULL_NAME:% S \ n- ", __Func__ in, master_dev-> of_node-> name, master_dev-> of_node-> FULL_NAME);
     2 the header file:. #Include <linux / of.h>

 

Guess you like

Origin www.cnblogs.com/zengjfgit/p/10954253.html