Skip to content
Commit 72e7ae81 authored by David Brownell's avatar David Brownell Committed by Russell King
Browse files

[ARM] 4823/1: AT91 section fix



Fix section warning:

 WARNING: arch/arm/mach-at91/built-in.o(.text+0xd74): Section mismatch in reference
        from the function init_programmable_clock()
        to the function .init.text:at91_css_to_clk()
 The function  init_programmable_clock() references
 the function __init at91_css_to_clk().
 This is often because init_programmable_clock lacks a __init
 annotation or the annotation of at91_css_to_clk is wrong.

In this case the only calls to and from init_programmable_clock()
are from code marked as "__init", so this fix is trivially correct.

Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Acked-by: default avatarUwe Kleine-Knig <Uwe.Kleine-Koenig@digi.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 86260f98
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