Commit 95e7ebc6 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Luis Chamberlain

rtc: ds1685: use EXPORT_SYMBOL_GPL for ds1685_rtc_poweroff

ds1685_rtc_poweroff is only used externally via symbol_get, which was
only ever intended for very internal symbols like this one.  Use
EXPORT_SYMBOL_GPL for it so that symbol_get can enforce only being used
on EXPORT_SYMBOL_GPL symbols.
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarJoshua Kinard <kumba@gentoo.org>
Reviewed-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarLuis Chamberlain <mcgrof@kernel.org>
parent 569820be
...@@ -1432,7 +1432,7 @@ ds1685_rtc_poweroff(struct platform_device *pdev) ...@@ -1432,7 +1432,7 @@ ds1685_rtc_poweroff(struct platform_device *pdev)
unreachable(); unreachable();
} }
} }
EXPORT_SYMBOL(ds1685_rtc_poweroff); EXPORT_SYMBOL_GPL(ds1685_rtc_poweroff);
/* ----------------------------------------------------------------------- */ /* ----------------------------------------------------------------------- */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment