]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] 5315/1: Fix section mismatch warning (sa1111)
authorKristoffer Ericson <kristoffer.ericson@gmail.com>
Tue, 21 Oct 2008 18:47:22 +0000 (19:47 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 21 Oct 2008 21:51:46 +0000 (22:51 +0100)
commit5d43839ab9988f236cdda1ed073d6916857bc3c5
tree4edc2b132bc0956cd22b21ab5846cbc549163a77
parentd1a7fddf420b1f5a7d9a899b3388026084a67d33
[ARM] 5315/1: Fix section mismatch warning (sa1111)

This patch fixes the section mismatch warning from
sa1111.o at buildtime.

  CC      arch/arm/common/sa1111.o
  LD      arch/arm/common/built-in.o
  LD      vmlinux.o
  MODPOST vmlinux.o
WARNING: vmlinux.o(.text+0x87f4): Section mismatch in reference from the function sa1111_probe() to the function .devinit.text:sa1110_mb_enable()
The function sa1111_probe() references
the function __devinit sa1110_mb_enable().
This is often because sa1111_probe lacks a __devinit
annotation or the annotation of sa1110_mb_enable is wrong.

Signed-off-by: Kristoffer Ericson <kristoffer.ericson@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/common/sa1111.c