}
#endif
#ifdef CONFIG_AMLOGIC_VIDEO_CAPTURE_BF3703
-int __init bf3703_v4l2_probe(struct i2c_adapter *adapter)
+int bf3703_v4l2_probe(struct i2c_adapter *adapter)
{
int ret = 0;
unsigned char reg[2];
}
#endif
#ifdef CONFIG_AMLOGIC_VIDEO_CAPTURE_BF3920
-int __init bf3920_v4l2_probe(struct i2c_adapter *adapter)
+int bf3920_v4l2_probe(struct i2c_adapter *adapter)
{
int ret = 0;
unsigned char reg[2];
}
#endif
#ifdef CONFIG_AMLOGIC_VIDEO_CAPTURE_GC2145
-int __init gc2145_v4l2_probe(struct i2c_adapter *adapter)
+int gc2145_v4l2_probe(struct i2c_adapter *adapter)
{
int ret = 0;
unsigned char reg[2];
#endif
#ifdef CONFIG_AMLOGIC_VIDEO_CAPTURE_GC2145_MIPI
-int __init gc2145_mipi_v4l2_probe(struct i2c_adapter *adapter)
+int gc2145_mipi_v4l2_probe(struct i2c_adapter *adapter)
{
int ret = 0;
unsigned char reg[2];
.class_attrs = watch_point_attr,
};
-/*
- * aml_watch_point_probe only executes before the init process starts
- * to run, so add __ref to indicate it is okay to call __init function
- * hook_debug_fault_code
- */
-static int __init aml_watch_point_probe(struct platform_device *pdev)
+static int aml_watch_point_probe(struct platform_device *pdev)
{
int r;
DEVICE_ATTR(time_out, 0664, time_out_show, time_out_store);
-static int __init meson_pm_probe(struct platform_device *pdev)
+static int meson_pm_probe(struct platform_device *pdev)
{
struct device_node *cpu_node;
struct device_node *state_node;
.end = frz_end,
};
-static int __init meson_pm_probe(struct platform_device *pdev)
+static int meson_pm_probe(struct platform_device *pdev)
{
pr_info("enter meson_pm_probe!\n");
#ifdef CONFIG_AMLOGIC_LEGACY_EARLY_SUSPEND