]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
tpm: infineon section mismatch
authorRandy Dunlap <randy.dunlap@oracle.com>
Wed, 6 Feb 2008 09:38:06 +0000 (01:38 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 6 Feb 2008 18:41:10 +0000 (10:41 -0800)
commite1d42c983ff7ba4b55d8635899186ae2ef2578ad
treead18eb2d93ab54227a92a98f4985bc77d898ddb2
parentec03d7073971e20a866448d62c992a168201ac82
tpm: infineon section mismatch

Fix section mismatch by making the driver template variable name
match one of the whitelisted variable names in modpost.

WARNING: vmlinux.o(.data+0x7a9e8): Section mismatch: reference to .init.text:tpm_inf_pnp_probe (between 'tpm_inf_pnp' and 'cn_idx')

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Marcel Selhorst <tpm@selhorst.net>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/tpm/tpm_infineon.c