rtc-mrst: Fix section types
authorMajor Lee <major_lee@wistron.com>
Mon, 4 Apr 2011 10:32:12 +0000 (11:32 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 4 Apr 2011 15:21:07 +0000 (08:21 -0700)
commitb3b896c73b4b04b506816a09994192e3a54f0fef
treeefb4fcb35a165dda7456f4ae8d72b3c53d903ff0
parent78fca1b95837a44983608302e89c7258981be9b3
rtc-mrst: Fix section types

Fix the following section mismatch warning.

  WARNING: drivers/rtc/built-in.o(.data+0xa0): Section mismatch in reference from the variable vrtc_mrst_platform_driver to the function .init.text:vrtc_mrst_platform_probe()
  The variable vrtc_mrst_platform_driver references the function __init vrtc_mrst_platform_probe()
  If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable:
    *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,

Signed-off-by: Major Lee <major_lee@wistron.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-mrst.c