summaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2019-01-15 07:18:56 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-22 12:21:43 +0300
commita156c7ba669c65b55c7afcc3994e1199cc0cad47 (patch)
treeb97c3343d57f59a026dbcac89060b3fcdbf4beb5 /drivers/char
parenta084dbf6592c22468eb946014b2e731fb42da7a9 (diff)
downloadlinux-a156c7ba669c65b55c7afcc3994e1199cc0cad47.tar.xz
powerpc: Replace nvram_* extern declarations with standard header
Remove the nvram_read_byte() and nvram_write_byte() declarations in powerpc/include/asm/nvram.h and use the cross-platform static functions in linux/nvram.h instead. Tested-by: Stan Johnson <userm57@yahoo.com> Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/generic_nvram.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/generic_nvram.c b/drivers/char/generic_nvram.c
index ff5394f47587..0c22b9503e84 100644
--- a/drivers/char/generic_nvram.c
+++ b/drivers/char/generic_nvram.c
@@ -20,6 +20,7 @@
#include <linux/fcntl.h>
#include <linux/init.h>
#include <linux/mutex.h>
+#include <linux/nvram.h>
#include <linux/pagemap.h>
#include <linux/uaccess.h>
#include <asm/nvram.h>