rtc: ds1685: use EXPORT_SYMBOL_GPL for ds1685_rtc_poweroff
stable inclusion from stable-v5.10.195 commit 92de8497c34214b2509e51488aee58dd028f49ef category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I95JOC Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=92de8497c34214b2509e51488aee58dd028f49ef -------------------------------- commit 95e7ebc6 upstream. 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:Christoph Hellwig <hch@lst.de> Acked-by:
Joshua Kinard <kumba@gentoo.org> Reviewed-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
Luis Chamberlain <mcgrof@kernel.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment