Re: [PATCH -next reresend] i2c: designware-pcidrv depends on PCI

From: Geert Uytterhoeven
Date: Sat Apr 09 2011 - 07:35:22 EST


On Fri, Apr 8, 2011 at 17:32, Randy Dunlap <randy.dunlap@xxxxxxxxxx> wrote:
> From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
>
> i2c-designware-pcidrv is a PCI driver and should depend on PCI.
> Fixes these build errors:
>
> drivers/i2c/busses/i2c-designware-pcidrv.c:256: error: implicit declaration of function 'pci_request_region'
> drivers/i2c/busses/i2c-designware-pcidrv.c:338: error: implicit declaration of function 'pci_release_region'
>
> Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> Cc: Baruch Siach <baruch@xxxxxxxxxx>
> ---
> Âdrivers/i2c/busses/Kconfig | Â Â1 +
> Â1 file changed, 1 insertion(+)
>
> Does anybody merge i2c patches???

Yes please, it's been there since Mar 17, reported several times, and probably
masking other build failures.

> --- linux-next-20110316.orig/drivers/i2c/busses/Kconfig
> +++ linux-next-20110316/drivers/i2c/busses/Kconfig
> @@ -359,6 +359,7 @@ config I2C_DESIGNWARE_PLATFORM
>
> Âconfig I2C_DESIGNWARE_PCI
> Â Â Â Âtristate "Synopsys DesignWare PCI"
> + Â Â Â depends on PCI
> Â Â Â Âhelp
> Â Â Â Â ÂIf you say yes to this option, support will be included for the
> Â Â Â Â ÂSynopsys DesignWare I2C adapter. Only master mode is supported.

Gr{oetje,eeting}s,

            Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
             Â Â -- Linus Torvalds
--
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/