PD#138714: warning messages like this
WARNING: modpopst: Found 3 section mismath(es).
Change-Id: I26bbdfc9ef04bf177dbab69a7383aaea142b7e37
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
}
#endif
-static __init int aml_cec_probe(struct platform_device *pdev)
+static int aml_cec_probe(struct platform_device *pdev)
{
struct device *cdev;
#ifdef CONFIG_OF
#endif
#ifdef CONFIG_OF
-static const struct of_device_id aml_cec_dt_match[] __initconst = {
+static const struct of_device_id aml_cec_dt_match[] = {
{
.compatible = "amlogic, amlogic-aocec",
},
}
static DEVICE_ATTR(frame_format, 0444, show_frame_format, NULL);
-static int rmem_di_device_init(struct reserved_mem *rmem, struct device *dev)
+static int __init rmem_di_device_init(struct reserved_mem *rmem,
+ struct device *dev)
{
di_dev_t *di_devp = dev_get_drvdata(dev);