mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
compiler: solve section mismatch warning during compiling
PD#141217: compiler: solve section mismatch warning during compiling Change-Id: Ifde0e48a08b61bf19cbe763f6accaf7cb9b53bc5 Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
This commit is contained in:
@@ -1734,7 +1734,7 @@ static void aocec_late_resume(struct early_suspend *h)
|
||||
}
|
||||
#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
|
||||
@@ -1935,7 +1935,7 @@ static const struct dev_pm_ops aml_cec_pm = {
|
||||
#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",
|
||||
},
|
||||
|
||||
@@ -278,7 +278,7 @@ static struct cpufreq_driver meson_cpufreq_driver = {
|
||||
.resume = meson_cpufreq_resume
|
||||
};
|
||||
|
||||
static int __init meson_cpufreq_probe(struct platform_device *pdev)
|
||||
static int meson_cpufreq_probe(struct platform_device *pdev)
|
||||
{
|
||||
int err = 0;
|
||||
int target, size = 0;
|
||||
|
||||
@@ -613,6 +613,7 @@ static int remote_resume(struct device *dev)
|
||||
}
|
||||
spin_unlock_irqrestore(&chip->slock, flags);
|
||||
|
||||
#ifdef CONFIG_AMLOGIC_LEGACY_EARLY_SUSPEND
|
||||
if (get_resume_method() == REMOTE_WAKEUP) {
|
||||
input_event(chip->r_dev->input_device,
|
||||
EV_KEY, KEY_POWER, 1);
|
||||
@@ -628,6 +629,7 @@ static int remote_resume(struct device *dev)
|
||||
input_event(chip->r_dev->input_device, EV_KEY, 133, 0);
|
||||
input_sync(chip->r_dev->input_device);
|
||||
}
|
||||
#endif
|
||||
|
||||
irq_set_affinity(chip->irqno, cpumask_of(chip->irq_cpumask));
|
||||
enable_irq(chip->irqno);
|
||||
|
||||
@@ -2654,7 +2654,8 @@ exit:
|
||||
return r;
|
||||
}
|
||||
|
||||
static int rmem_fb_device_init(struct reserved_mem *rmem, struct device *dev)
|
||||
static int __init
|
||||
rmem_fb_device_init(struct reserved_mem *rmem, struct device *dev)
|
||||
{
|
||||
if (!of_get_flat_dt_prop(rmem->fdt_node, "no-map", NULL)) {
|
||||
fb_map_flag = true;
|
||||
|
||||
Reference in New Issue
Block a user