title: Creating proc entry under parent folder
body: <p>I want to create a proc entry under /proc/driver/  path, </p>
  
  <p>I am using this code:</p>
  
  <pre><code> struct file *fp = filp_open("/proc/driver",O_RDONLY,0);
   struct proc_dir_entry *parent ;
   parent =  PDE(fp-&gt;f_dentry-&gt;d_inode);
   filp_close(fp, NULL);
   proc_create("leds",0,parent,&amp;proc_fops);
  </code></pre>
  
  <p>But when compile i got error :</p>
  
  <pre><code>error: implicit declaration of function ‘PDE’ [-Werror=implicit-function-declaration]
  </code></pre>
  
  <p>How can i fix this problem? 
  Thanks in advance.</p>