aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/viper.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-pxa/viper.c')
-rw-r--r--arch/arm/mach-pxa/viper.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/viper.c b/arch/arm/mach-pxa/viper.c
index 392412ce4dac..c773e4dded64 100644
--- a/arch/arm/mach-pxa/viper.c
+++ b/arch/arm/mach-pxa/viper.c
@@ -768,8 +768,7 @@ static unsigned long viper_tpm;
768 768
769static int __init viper_tpm_setup(char *str) 769static int __init viper_tpm_setup(char *str)
770{ 770{
771 strict_strtoul(str, 10, &viper_tpm); 771 return strict_strtoul(str, 10, &viper_tpm) >= 0;
772 return 1;
773} 772}
774 773
775__setup("tpm=", viper_tpm_setup); 774__setup("tpm=", viper_tpm_setup);