chromeos_platform_read_nvram() and chromeos_platform_write_nvram() are implementation details of chromeos_set_need_recovery() that are not used outside drivers/platform. So remove them from public header. BUG=none TEST=build kernel Change-Id: Ie3a67dbe05b9764dc680dd1e5cf15dd91160d61a Signed-off-by: Che-Liang Chiou <clchiou@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/37685
28 lines
577 B
C
28 lines
577 B
C
#ifndef _LINUX_CHROMEOS_PLATFORM_H
|
|
#define _LINUX_CHROMEOS_PLATFORM_H
|
|
|
|
#include <linux/errno.h>
|
|
#include <linux/types.h>
|
|
|
|
#ifdef CONFIG_CHROMEOS
|
|
/*
|
|
* ChromeOS platform support code. Glue layer between higher level functions
|
|
* and per-platform firmware interfaces.
|
|
*/
|
|
|
|
/*
|
|
* Set the taint bit telling firmware that the currently running side needs
|
|
* recovery (or reinstall).
|
|
*/
|
|
extern int chromeos_set_need_recovery(void);
|
|
|
|
#else
|
|
|
|
static inline int chromeos_set_need_recovery(void)
|
|
{
|
|
return -ENODEV;
|
|
}
|
|
#endif /* CONFIG_CHROMEOS */
|
|
|
|
#endif /* _LINUX_CHROMEOS_PLATFORM_H */
|