#include <mach/rk29-ipp.h>\r
#include <linux/time.h>\r
#include <asm/cacheflush.h>\r
+#include <linux/slab.h>\r
\r
//#define IPP_TEST\r
#ifdef IPP_TEST\r
.fops = &ipp_fops,\r
};\r
\r
-static int __init ipp_drv_probe(struct platform_device *pdev)\r
+static int __devinit ipp_drv_probe(struct platform_device *pdev)\r
{\r
struct ipp_drvdata *data;\r
int ret = 0;\r
return ret;\r
}\r
\r
-static int ipp_drv_remove(struct platform_device *pdev)\r
+static int __devexit ipp_drv_remove(struct platform_device *pdev)\r
{\r
struct ipp_drvdata *data = platform_get_drvdata(pdev);\r
DBG("%s [%d]\n",__FUNCTION__,__LINE__);\r
\r
static struct platform_driver rk29_ipp_driver = {\r
.probe = ipp_drv_probe,\r
- .remove = ipp_drv_remove,\r
+ .remove = __devexit_p(ipp_drv_remove),\r
.suspend = ipp_suspend,\r
.resume = ipp_resume,\r
.driver = {\r