Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 3398
b: refs/heads/master
c: 681ea4b
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Jun 25, 2005
1 parent 387809c commit 2189aa7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3b01b47cf95682d02676efa5d0b48e759db405b3
refs/heads/master: 681ea4b930768444e9d88651c1362b0bf6d2a42b
6 changes: 3 additions & 3 deletions trunk/drivers/char/nvram.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,12 +211,13 @@ nvram_check_checksum(void)
return rv;
}

void
static void
__nvram_set_checksum(void)
{
mach_set_checksum();
}

#if 0
void
nvram_set_checksum(void)
{
Expand All @@ -226,6 +227,7 @@ nvram_set_checksum(void)
__nvram_set_checksum();
spin_unlock_irqrestore(&rtc_lock, flags);
}
#endif /* 0 */

/*
* The are the file operation function for user access to /dev/nvram
Expand Down Expand Up @@ -921,6 +923,4 @@ EXPORT_SYMBOL(__nvram_write_byte);
EXPORT_SYMBOL(nvram_write_byte);
EXPORT_SYMBOL(__nvram_check_checksum);
EXPORT_SYMBOL(nvram_check_checksum);
EXPORT_SYMBOL(__nvram_set_checksum);
EXPORT_SYMBOL(nvram_set_checksum);
MODULE_ALIAS_MISCDEV(NVRAM_MINOR);
2 changes: 0 additions & 2 deletions trunk/include/linux/nvram.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ extern void __nvram_write_byte(unsigned char c, int i);
extern void nvram_write_byte(unsigned char c, int i);
extern int __nvram_check_checksum(void);
extern int nvram_check_checksum(void);
extern void __nvram_set_checksum(void);
extern void nvram_set_checksum(void);
#endif

#endif /* _LINUX_NVRAM_H */

0 comments on commit 2189aa7

Please sign in to comment.