On 13 July 2012 11:03, Ricardo Salveti <ricardo.salveti@linaro.org> wrote:
On Fri, Jul 13, 2012 at 2:02 AM, Rajagopal Venkat
<rajagopal.venkat@linaro.org> wrote:
> Can someone consider this patch for merge?

As we will have libpci available at most distros by default, isn't
there a way of doing run-time detection instead of disabling it at
build time?
 
This patch disables powertop PCI support only when libpci is not
available on a system. Nothing specific to ARM platforms.

I don't think it can be done at run-time. Without this patch if libpci
is not available, powertop compilation itself will fail.
 
This is just because we'll be getting more and more ARM boards which
have PCI-e as well, so we'll need to handle systems with and without
any PCI available.
  
Cheers,
--
Ricardo Salveti de Araujo