projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
655fdea
)
[PATCH] tpm_register_hardware gcc 4.1 warning fix
author
Daniel Walker
<
[email protected]
>
Mon, 15 May 2006 16:44:27 +0000
(09:44 -0700)
committer
Linus Torvalds
<
[email protected]
>
Mon, 15 May 2006 18:20:57 +0000
(11:20 -0700)
drivers/char/tpm/tpm.c: In function 'tpm_register_hardware':
drivers/char/tpm/tpm.c:1157: warning: assignment from incompatible pointer type
Signed-off-by: Daniel Walker <
[email protected]
>
Acked-by: Kylene Hall <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/char/tpm/tpm.h
patch
|
blob
|
history
diff --git
a/drivers/char/tpm/tpm.h
b/drivers/char/tpm/tpm.h
index 54a4c804e25f30fc38eed78e5a4b32d2e07f1bc9..050ced247f68018224addcc572e7faa7f6f47fec 100644
(file)
--- a/
drivers/char/tpm/tpm.h
+++ b/
drivers/char/tpm/tpm.h
@@
-140,7
+140,7
@@
extern int tpm_pm_resume(struct device *);
extern struct dentry ** tpm_bios_log_setup(char *);
extern void tpm_bios_log_teardown(struct dentry **);
#else
-static inline struct dentry* tpm_bios_log_setup(char *name)
+static inline struct dentry
*
* tpm_bios_log_setup(char *name)
{
return NULL;
}