This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to use the OMAP3-ISP in module

Hello community,

I want to use a driver for a SmartCam that was actually meant for linux kernel 2.6.34. The driver includes the code of a older version of the ISP and when the INIT of this module is called the ISP will be registered:

cam->omap3isp_driver.probe = isp_probe;
cam->omap3isp_driver.remove = isp_remove;
cam->omap3isp_driver.driver.name = "omap3isp";

plat_ret = platform_driver_register(&cam->omap3isp_driver);

The current ISP implementation does the registering on his own: 

static struct platform_driver omap3isp_driver = {
.probe = isp_probe,
.remove = __devexit_p(isp_remove),
.id_table = omap3isp_id_table,
.driver = {
.owner = THIS_MODULE,
.name = "omap3isp",
.pm = &omap3isp_pm_ops,
},
};
module_platform_driver(omap3isp_driver);

The problem is that I don't know how I can use that ISP struct in my module. Is there a method that I overlooked? Or what do I have to do to use the ISP?

Regards, Tom