Commit 6d999da4d2610460fc5f5ce498f1483b40cc6679

Authored by Matthias Rosenfelder
Committed by David S. Miller
1 parent 18d85bc558

sparc32,leon: Added __init declaration to leon_flush_needed()

The function leon_flush_needed() is called only during bootup from another
__init function. Therefore, we can also add __init to leon_flush_needed().

Signed-off-by: Matthias Rosenfelder <rosenfelder.lkml@googlemail.com>
Acked-by: Daniel Hellstrom <daniel@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

arch/sparc/mm/leon_mm.c
... ... @@ -226,7 +226,7 @@
226 226 * Leon2 and Leon3 differ in their way of telling cache information
227 227 *
228 228 */
229   -int leon_flush_needed(void)
  229 +int __init leon_flush_needed(void)
230 230 {
231 231 int flush_needed = -1;
232 232 unsigned int ssize, sets;