Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

static int __init init_proc_fs ( void   )  [static]

SDMA proc file system read function

Definition at line 1295 of file sdma.c.

References proc_read_channels().

Referenced by sdma_init().

      struct proc_dir_entry *sdma_proc_dir;
      int res;

      res = 0;

      sdma_proc_dir = proc_mkdir("sdma", NULL);
      create_proc_read_entry("channels", 0, sdma_proc_dir,
                         proc_read_channels, NULL);

      if (res < 0) {
            printk(KERN_WARNING "Failed create SDMA proc entry\n");

      return res;

Generated by  Doxygen 1.6.0   Back to index