Re: [PATCH] Add PCI config dependency for PTI.

From: Randy Dunlap
Date: Thu Jul 07 2011 - 18:09:38 EST


On 07/07/11 15:02, james_p_freyensee@xxxxxxxxxxxxxxx wrote:
> From: J Freyensee <james_p_freyensee@xxxxxxxxxxxxxxx>
>
> Intel-Atom implementation of PTI will not work with PCI
> configured off, so the pti driver should not be compiled
> in the event someone does not enable PCI in the linux kernel.
>
> Reported-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> Acked-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> Acked-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> Signed-off-by: J Freyensee <james_p_freyensee@xxxxxxxxxxxxxxx>

That's good. Thanks.
Sorry this was so much trouble.

> ---
> drivers/misc/Kconfig | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
> index 4e349cd..7fd32a6 100644
> --- a/drivers/misc/Kconfig
> +++ b/drivers/misc/Kconfig
> @@ -146,6 +146,7 @@ config PHANTOM
>
> config INTEL_MID_PTI
> tristate "Parallel Trace Interface for MIPI P1149.7 cJTAG standard"
> + depends on PCI
> default n
> help
> The PTI (Parallel Trace Interface) driver directs


--
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/