Subject: Re: randconfig build error with next-20140620, in drivers/thunderbolt/nhi.c

From: Greg Kroah-Hartman <[email-masked]>
Date: Fri, 20 Jun 2014 09:47:09 -0700

On Fri, Jun 20, 2014 at 07:03:44AM -0700, Jim Davis wrote:
> Building with the attached random configuration file,
> 
> drivers/thunderbolt/nhi.c: In function ‘nhi_probe’:
> drivers/thunderbolt/nhi.c:541:2: error: implicit declaration of
> function ‘pcim_enable_device’ [-Werror=implicit-function-declaration]
>   res = pcim_enable_device(pdev);
>   ^
> drivers/thunderbolt/nhi.c:547:2: error: implicit declaration of
> function ‘pci_enable_msi’ [-Werror=implicit-function-declaration]
>   res = pci_enable_msi(pdev);
>   ^
> cc1: some warnings being treated as errors
> make[2]: *** [drivers/thunderbolt/nhi.o] Error 1

A patch was just sent to fix this, will be in the next linux-next
release, thanks.

greg k-h