Skip to content
Commit d0ecbbbe authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Eduardo Valentin
Browse files

thermal/drivers/hisi: Remove bogus const from function return type



With gcc-4.1.2:

    drivers/thermal/hisi_thermal.c: In function ‘hisi_thermal_probe’:
    drivers/thermal/hisi_thermal.c:530: warning: type qualifiers ignored on function return type

Remove the "const" keyword to fix this.

Fixes: a160a465 ("thermal/drivers/hisi: Prepare to add support for other hisi platforms")
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarEduardo Valentin <edubezval@gmail.com>
parent f80ee03f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment