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

static int mxcfb_init ( void   )  [static]

Main entry function for the framebuffer. The function registers the power management callback functions with the kernel and also registers the MXCFB callback functions with the core Linux framebuffer driver fbmem.c

Error code indicating success or failure

Definition at line 1119 of file mxcfb_epson.c.

      int ret = 0;

      ret = platform_driver_register(&mxcfb_driver);
      if (ret == 0) {
            ret = platform_device_register(&mxcfb_device);
            if (ret != 0) {
      return ret;

Generated by  Doxygen 1.6.0   Back to index