mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
powerpc: Implement nvram ioctls
Add the powerpc-specific ioctls to the nvram module. This allows the nvram module to replace the generic_nvram module. 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>
This commit is contained in:
parent
ebcebc7f45
commit
95ac14b8a3
2 changed files with 40 additions and 0 deletions
|
@ -31,8 +31,10 @@ struct nvram_ops {
|
|||
void (*write_byte)(unsigned char, int);
|
||||
ssize_t (*read)(char *, size_t, loff_t *);
|
||||
ssize_t (*write)(char *, size_t, loff_t *);
|
||||
#if defined(CONFIG_X86) || defined(CONFIG_M68K)
|
||||
long (*initialize)(void);
|
||||
long (*set_checksum)(void);
|
||||
#endif
|
||||
};
|
||||
|
||||
extern const struct nvram_ops arch_nvram_ops;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue