Re: [PATCH] PCI: Pull struct pci_ops definition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 17, 2017 at 03:53:19PM +0100, Marc Gonzalez wrote:
> struct pci_ecam_ops embeds a struct pci_ops. Explicitly request the
> definition for struct pci_ops, otherwise gcc might complain:
> 
> include/linux/pci-ecam.h:29:19: error: field 'pci_ops' has incomplete type
> 
> Signed-off-by: Marc Gonzalez <marc_gonzalez@xxxxxxxxxxxxxxxx>

Applied to pci/misc for v4.12, thanks!

> ---
>  include/linux/pci-ecam.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/linux/pci-ecam.h b/include/linux/pci-ecam.h
> index 7adad206b1f4..33c4750781a0 100644
> --- a/include/linux/pci-ecam.h
> +++ b/include/linux/pci-ecam.h
> @@ -16,6 +16,7 @@
>  #ifndef DRIVERS_PCI_ECAM_H
>  #define DRIVERS_PCI_ECAM_H
>  
> +#include <linux/pci.h>
>  #include <linux/kernel.h>
>  #include <linux/platform_device.h>
>  
> -- 
> 2.10.0



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux