power: smb349: Fix section mismatch
WARNING: vmlinux.o(.text+0x4830fc): Section mismatch in reference from the function hwinit_worker() to the function .devinit.text:smb349_hwinit() The function hwinit_worker() references the function __devinit smb349_hwinit(). This is often because hwinit_worker lacks a __devinit annotation or the annotation of smb349_hwinit is wrong. Change-Id: Id42f1fd3c27a7773d36659b4839b881fadbb9ff9 Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
This commit is contained in:
@@ -415,7 +415,7 @@ static void remove_debugfs_entries(struct smb349_struct *smb349_chg)
|
||||
debugfs_remove_recursive(smb349_chg->dent);
|
||||
}
|
||||
|
||||
static int __devinit smb349_hwinit(struct smb349_struct *smb349_chg)
|
||||
static int smb349_hwinit(struct smb349_struct *smb349_chg)
|
||||
{
|
||||
int ret;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user