mmc: dw_mmc: fixed a section mismatch in dw_mci_init_slot
authorJaehoon Chung <jh80.chung@samsung.com>
Thu, 23 Aug 2012 11:31:48 +0000 (20:31 +0900)
committerChris Ball <cjb@laptop.org>
Tue, 4 Sep 2012 17:58:27 +0000 (13:58 -0400)
commit36c179a98a0755b98153e8f4ae08243fbfcd18ff
tree7c971dcaf0ed637c9a76d212647b4d69b73e9192
parentb37f9d98f3d28ad98cc6c1894159312914f49190
mmc: dw_mmc: fixed a section mismatch in dw_mci_init_slot

Fixed the below message.

WARNING: drivers/mmc/host/built-in.o(.text+0x5ee8): Section mismatch in reference from the function dw_mci_probe() to the function .init.text:dw_mci_init_slot()
The function dw_mci_probe() references
the function __init dw_mci_init_slot().
This is often because dw_mci_probe lacks a __init
annotation or the annotation of dw_mci_init_slot is wrong

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Will Newton <will.newton@imgtec.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/dw_mmc-pltfm.c
drivers/mmc/host/dw_mmc.c