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

static int __init mxc_nd_init ( void   )  [static]

Main initialization routine

Returns:
0 if successful; non-zero otherwise

Definition at line 1446 of file mxc_nd2.c.

{
      /* Register the device driver structure. */
      pr_info("MXC MTD nand Driver %s\n", DVR_VER);
      if (platform_driver_register(&mxcnd_driver) != 0) {
            printk(KERN_ERR "Driver register failed for mxcnd_driver\n");
            return -ENODEV;
      }
      return 0;
}


Generated by  Doxygen 1.6.0   Back to index