Skip to contentSkip to conversation

s390 allmodconfig

DISCUSSION Andrew Morton 3 participants 5 messages Aug 29, 2008 3 messages not in the archive I2C subsystem host drivers

lore
Share & tools
lore
#0 lore raw

drivers/i2c/busses/i2c-ocores.c: In function 'oc_setreg':
drivers/i2c/busses/i2c-ocores.c:68: error: implicit declaration of function 'iowrite8' drivers/i2c/busses/i2c-ocores.c: In function 'oc_getreg':
drivers/i2c/busses/i2c-ocores.c:73: error: implicit declaration of function 'ioread8' drivers/i2c/busses/i2c-ocores.c: In function 'ocores_i2c_probe':
drivers/i2c/busses/i2c-ocores.c:243: error: implicit declaration of function 'ioremap' drivers/i2c/busses/i2c-ocores.c:243: warning: assignment makes pointer from integer without a cast drivers/i2c/busses/i2c-ocores.c:279: error: implicit declaration of function 'iounmap'

Some missing Kconfig dependency. s390 can't do IO :)

_______________________________________________
i2c mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/i2c

#2 lore raw
In reply to a message not in the archive

Hi Andrew,

Quoted 10 lines · Andrew Morton

drivers/i2c/busses/i2c-ocores.c: In function 'oc_setreg':
drivers/i2c/busses/i2c-ocores.c:68: error: implicit declaration of function 'iowrite8' drivers/i2c/busses/i2c-ocores.c: In function 'oc_getreg':
drivers/i2c/busses/i2c-ocores.c:73: error: implicit declaration of function 'ioread8' drivers/i2c/busses/i2c-ocores.c: In function 'ocores_i2c_probe':
drivers/i2c/busses/i2c-ocores.c:243: error: implicit declaration of function 'ioremap' drivers/i2c/busses/i2c-ocores.c:243: warning: assignment makes pointer from integer without a cast drivers/i2c/busses/i2c-ocores.c:279: error: implicit declaration of function 'iounmap'

Some missing Kconfig dependency. s390 can't do IO :)

Where is this failure happening? In Linus' tree, I2C depends on HAS_IOMEM (which s390 doesn't have), and I2C_OCORES depends on I2C. So I fail to see how a make allmodconfig can select I2C_OCORES on s390. Can you share the .config file?

Signature · 6 lines
Jean Delvare

_______________________________________________
i2c mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/i2c
#4 lore raw
In reply to a message not in the archive
Quoted 12 lines · On Fri, 29 Aug 2008 10:45:33 +0200 Jean Delvare…

Hi Andrew,

Quoted 9 lines · Andrew Morton

drivers/i2c/busses/i2c-ocores.c: In function 'oc_setreg':
drivers/i2c/busses/i2c-ocores.c:68: error: implicit declaration of function 'iowrite8' drivers/i2c/busses/i2c-ocores.c: In function 'oc_getreg':
drivers/i2c/busses/i2c-ocores.c:73: error: implicit declaration of function 'ioread8' drivers/i2c/busses/i2c-ocores.c: In function 'ocores_i2c_probe':
drivers/i2c/busses/i2c-ocores.c:243: error: implicit declaration of function 'ioremap' drivers/i2c/busses/i2c-ocores.c:243: warning: assignment makes pointer from integer without a cast drivers/i2c/busses/i2c-ocores.c:279: error: implicit declaration of function 'iounmap'

Quoted 7 lines
Quoted 1 line

Some missing Kconfig dependency. s390 can't do IO :)

Where is this failure happening? In Linus' tree, I2C depends on HAS_IOMEM (which s390 doesn't have), and I2C_OCORES depends on I2C. So I fail to see how a make allmodconfig can select I2C_OCORES on s390. Can you share the .config file?

<bisects>

It's power-support-for-texas-instruments-bq27x00-battery-managers.patch, which does

drivers/power/Kconfig renamed from drivers/power/Kconfig~power-support-for-texas-instruments-bq27x00-battery-managers +13 -0
@@ -62,4 +62,17 @@ config BATTERY_PALMTX
 	help
 	  Say Y to enable support for the battery in Palm T|X.
 
+config BATTERY_BQ27x00
+	tristate "BQ27x00 battery driver"
+	help
+	  Say Y here to enable support for batteries with BQ27000 or
+	  BQ27200 chip.
+
+config BATTERY_BQ27200
+	bool "BQ27200 battery driver"
+	depends on BATTERY_BQ27x00
+	select I2C
+	help
+	  Say Y here to enable support for batteries with BQ27200(I2C) chip.
+
 

which enables I2C stuff in s390 allmodconfig. Should it be `depends on'?

_______________________________________________
i2c mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/i2c

#6 lore raw
In reply to a message not in the archive
Quoted 49 lines · Andrew Morton
Quoted 12 lines · On Fri, 29 Aug 2008 10:45:33 +0200 Jean Delvare…

Hi Andrew,

Quoted 9 lines · Andrew Morton

drivers/i2c/busses/i2c-ocores.c: In function 'oc_setreg':
drivers/i2c/busses/i2c-ocores.c:68: error: implicit declaration of function 'iowrite8' drivers/i2c/busses/i2c-ocores.c: In function 'oc_getreg':
drivers/i2c/busses/i2c-ocores.c:73: error: implicit declaration of function 'ioread8' drivers/i2c/busses/i2c-ocores.c: In function 'ocores_i2c_probe':
drivers/i2c/busses/i2c-ocores.c:243: error: implicit declaration of function 'ioremap' drivers/i2c/busses/i2c-ocores.c:243: warning: assignment makes pointer from integer without a cast drivers/i2c/busses/i2c-ocores.c:279: error: implicit declaration of function 'iounmap'

Quoted 7 lines
Quoted 1 line

Some missing Kconfig dependency. s390 can't do IO :)

Where is this failure happening? In Linus' tree, I2C depends on HAS_IOMEM (which s390 doesn't have), and I2C_OCORES depends on I2C. So I fail to see how a make allmodconfig can select I2C_OCORES on s390. Can you share the .config file?

<bisects>

It's power-support-for-texas-instruments-bq27x00-battery-managers.patch, which does

drivers/power/Kconfig renamed from drivers/power/Kconfig~power-support-for-texas-instruments-bq27x00-battery-managers +13 -0
@@ -62,4 +62,17 @@ config BATTERY_PALMTX
 	help
 	  Say Y to enable support for the battery in Palm T|X.
 
+config BATTERY_BQ27x00
+	tristate "BQ27x00 battery driver"
+	help
+	  Say Y here to enable support for batteries with BQ27000 or
+	  BQ27200 chip.
+
+config BATTERY_BQ27200
+	bool "BQ27200 battery driver"
+	depends on BATTERY_BQ27x00
+	select I2C
+	help
+	  Say Y here to enable support for batteries with BQ27200(I2C) chip.
+
 
Quoted 1 line

which enables I2C stuff in s390 allmodconfig. Should it be `depends on'?

Yes.

	depends on I2C && BATTERY_BQ27x00

Ciao,

Rodolfo

Signature · 4 lines
GNU/Linux Solutions                  e-mail: giometti-AVVDYK/kqiJWk0Htik3J/[email protected]
Linux Device Driver                          [email protected]
Embedded Systems                     phone:  +39 349 2432127
UNIX programming                     skype:  rodolfo.giometti

_______________________________________________
i2c mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/i2c

#7 lore raw
Quoted 50 lines · Rodolfo Giometti
Quoted 49 lines · Andrew Morton
Quoted 12 lines · On Fri, 29 Aug 2008 10:45:33 +0200 Jean Delvare…

Hi Andrew,

Quoted 9 lines · Andrew Morton

drivers/i2c/busses/i2c-ocores.c: In function 'oc_setreg':
drivers/i2c/busses/i2c-ocores.c:68: error: implicit declaration of function 'iowrite8' drivers/i2c/busses/i2c-ocores.c: In function 'oc_getreg':
drivers/i2c/busses/i2c-ocores.c:73: error: implicit declaration of function 'ioread8' drivers/i2c/busses/i2c-ocores.c: In function 'ocores_i2c_probe':
drivers/i2c/busses/i2c-ocores.c:243: error: implicit declaration of function 'ioremap' drivers/i2c/busses/i2c-ocores.c:243: warning: assignment makes pointer from integer without a cast drivers/i2c/busses/i2c-ocores.c:279: error: implicit declaration of function 'iounmap'

Quoted 7 lines
Quoted 1 line

Some missing Kconfig dependency. s390 can't do IO :)

Where is this failure happening? In Linus' tree, I2C depends on HAS_IOMEM (which s390 doesn't have), and I2C_OCORES depends on I2C. So I fail to see how a make allmodconfig can select I2C_OCORES on s390. Can you share the .config file?

<bisects>

It's power-support-for-texas-instruments-bq27x00-battery-managers.patch, which does

drivers/power/Kconfig renamed from drivers/power/Kconfig~power-support-for-texas-instruments-bq27x00-battery-managers +13 -0
@@ -62,4 +62,17 @@ config BATTERY_PALMTX
 	help
 	  Say Y to enable support for the battery in Palm T|X.
 
+config BATTERY_BQ27x00
+	tristate "BQ27x00 battery driver"
+	help
+	  Say Y here to enable support for batteries with BQ27000 or
+	  BQ27200 chip.
+
+config BATTERY_BQ27200
+	bool "BQ27200 battery driver"
+	depends on BATTERY_BQ27x00
+	select I2C
+	help
+	  Say Y here to enable support for batteries with BQ27200(I2C) chip.
+
 
Quoted 6 lines
Quoted 1 line

which enables I2C stuff in s390 allmodconfig. Should it be `depends on'?

Yes.

	depends on I2C && BATTERY_BQ27x00

Yes please. Ideally nothing but arch files should ever select I2C.

Signature · 6 lines
Jean Delvare

_______________________________________________
i2c mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/i2c