Skip to contentSkip to conversation

i2c: designware-pcidrv depends on PCI

PATCH In review Randy Dunlap 5 participants 6 messages Apr 8, 2011 – Apr 19, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c: designware-pcidrv depends on PCI

From: Randy Dunlap <[email protected]>

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'

---
 drivers/i2c/busses/Kconfig |    1 +
 1 file changed, 1 insertion(+)

Does anybody merge i2c patches???

drivers/i2c/busses/Kconfig +1 -0
@@ -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.

--

#1 lore raw
Quoted 8 lines · Randy Dunlap

From: Randy Dunlap <[email protected]>

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'

Quoted 7 lines

---
 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.

Quoted 10 lines
drivers/i2c/busses/Kconfig +0 -0
@@ -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 -- [email protected]

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

#2 lore raw

Geert, Randy,

Quoted 15 lines · Geert Uytterhoeven
Quoted 14 lines · Randy Dunlap

From: Randy Dunlap <[email protected]>

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'

---
 drivers/i2c/busses/Kconfig |    1 +

 1 file changed, 1 insertion(+)
Quoted 4 lines
Quoted 1 line

Does anybody merge i2c patches???

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

This bug only exists in linux-next, as the code in question wasn't merged in Linus's tree yet. It is drawn into linux-next from Ben Dooks's next-i2c branch:
http://git.fluff.org/gitweb?p=bjdooks/linux.git;a=shortlog;h=refs/heads/next-i2c

This is where it has to be fixed, so only Ben can do it. Ben, please?

Meanwhile, it should be possible to apply a hot fix to linux-next directly, Stephen does it pretty often. Stephen, could you please apply this fix temporarily until Ben wakes up and applies it to his tree?

Quoted 10 lines
Quoted 10 lines
drivers/i2c/busses/Kconfig +0 -0
@@ -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.

Signature · 1 line
Jean Delvare
#3 lore raw
Quoted 28 lines · Jean Delvare

Geert, Randy,

Quoted 15 lines · Geert Uytterhoeven
Quoted 14 lines · Randy Dunlap

From: Randy Dunlap <[email protected]>

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'

---
 drivers/i2c/busses/Kconfig |    1 +
 1 file changed, 1 insertion(+)
Quoted 4 lines
Quoted 1 line

Does anybody merge i2c patches???

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

This bug only exists in linux-next, as the code in question wasn't merged in Linus's tree yet. It is drawn into linux-next from Ben Dooks's next-i2c branch:
http://git.fluff.org/gitweb?p=bjdooks/linux.git;a=shortlog;h=refs/heads/next-i2c

Quoted 5 lines

This is where it has to be fixed, so only Ben can do it. Ben, please?

Meanwhile, it should be possible to apply a hot fix to linux-next directly, Stephen does it pretty often. Stephen, could you please apply this fix temporarily until Ben wakes up and applies it to his tree?

Thanks, Jean.

Quoted 11 lines
Quoted 10 lines
Quoted 10 lines
drivers/i2c/busses/Kconfig +1 -0
@@ -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.
Signature · 2 lines
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
#4 lore raw
In reply to Jean Delvare

Hi Jean, Ben,

Quoted 27 lines · On Tue, 12 Apr 2011 11:47:22 +0200 Jean Delvare…
Quoted 15 lines · Geert Uytterhoeven
Quoted 14 lines · Randy Dunlap

From: Randy Dunlap <[email protected]>

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'

---
 drivers/i2c/busses/Kconfig |    1 +

 1 file changed, 1 insertion(+)
Quoted 4 lines
Quoted 1 line

Does anybody merge i2c patches???

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

This bug only exists in linux-next, as the code in question wasn't merged in Linus's tree yet. It is drawn into linux-next from Ben Dooks's next-i2c branch:
http://git.fluff.org/gitweb?p=bjdooks/linux.git;a=shortlog;h=refs/heads/next-i2c

Quoted 5 lines

This is where it has to be fixed, so only Ben can do it. Ben, please?

Meanwhile, it should be possible to apply a hot fix to linux-next directly, Stephen does it pretty often. Stephen, could you please apply this fix temporarily until Ben wakes up and applies it to his tree?

I will apply this patch as a merge fixup from today (if it is still needed). I also have a patch being applied to that tree to add an include of linux/delay.h to drivers/i2c/busses/i2c-designware-core.c .

Ben?

Signature · 3 lines
Cheers,
Stephen Rothwell                    [email protected]
http://www.canb.auug.org.au/~sfr/
#5 lore raw
Quoted 32 lines · Stephen Rothwell

Hi Jean, Ben,

Quoted 29 lines · On Tue, 12 Apr 2011 11:47:22 +0200 Jean Delvare <[email protected]> wrote:
Quoted 15 lines · Geert Uytterhoeven
Quoted 14 lines · Randy Dunlap

From: Randy Dunlap <[email protected]>

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'

---
 drivers/i2c/busses/Kconfig |    1 +

 1 file changed, 1 insertion(+)
Quoted 4 lines
Quoted 1 line

Does anybody merge i2c patches???

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

This bug only exists in linux-next, as the code in question wasn't merged in Linus's tree yet. It is drawn into linux-next from Ben Dooks's next-i2c branch:
http://git.fluff.org/gitweb?p=bjdooks/linux.git;a=shortlog;h=refs/heads/next-i2c

This is where it has to be fixed, so only Ben can do it. Ben, please?

Quoted 7 lines
Quoted 3 lines

Meanwhile, it should be possible to apply a hot fix to linux-next directly, Stephen does it pretty often. Stephen, could you please apply this fix temporarily until Ben wakes up and applies it to his tree?

I will apply this patch as a merge fixup from today (if it is still needed). I also have a patch being applied to that tree to add an include of linux/delay.h to drivers/i2c/busses/i2c-designware-core.c .

I've not gotten around to fixing the rebase of the driver to the latest source code, I'll try and get around to it in the next few days unless someone sends a new copy of the patch.

Quoted 5 lines

Ben?

Signature · 3 lines
Cheers,
Stephen Rothwell                    [email protected]
http://www.canb.auug.org.au/~sfr/
Signature · 3 lines
Ben Dooks, [email protected], http://www.fluff.org/ben/

Large Hadron Colada: A large Pina Colada that makes the universe disappear.