Re: [PATCH v2] tpm: Fix compilation warning when CONFIG_PNP is notdefined

From: James Morris
Date: Wed Jul 20 2011 - 19:31:12 EST

On Mon, 18 Jul 2011, Stefan Berger wrote:

> The is_itpm() function is only accessed from a block surrounded by
> #ifdef CONFIG_PNP. Therefore, also surround it with #ifdef CONFIG_PNP
> and remove the #else branch causing the warning.
> v2:
> - fixes a previous typo

Applied to

James Morris
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at