public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
* s390 allmodconfig
@ 2008-08-29  7:52 Andrew Morton
       [not found] ` <20080829005217.509a6c23.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Morton @ 2008-08-29  7:52 UTC (permalink / raw)
  To: i2c-GZX6beZjE8VD60Wz+7aTrA; +Cc: Martin Schwidefsky, Heiko Carstens

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
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: s390 allmodconfig
       [not found] ` <20080829005217.509a6c23.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
@ 2008-08-29  8:45   ` Jean Delvare
       [not found]     ` <20080829104533.0e65f43a-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Jean Delvare @ 2008-08-29  8:45 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Martin Schwidefsky, Heiko-cy1Wll9GaHOsTnJN9+BGXg, Carstens,
	i2c-GZX6beZjE8VD60Wz+7aTrA

Hi Andrew,

On Fri, 29 Aug 2008 00:52:17 -0700, Andrew Morton wrote:
> 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?

-- 
Jean Delvare

_______________________________________________
i2c mailing list
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: s390 allmodconfig
       [not found]     ` <20080829104533.0e65f43a-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
@ 2008-08-29  9:04       ` Andrew Morton
       [not found]         ` <20080829020409.2880013b.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Morton @ 2008-08-29  9:04 UTC (permalink / raw)
  To: Jean Delvare
  Cc: Martin Schwidefsky, Heiko-cy1Wll9GaHOsTnJN9+BGXg, Carstens,
	i2c-GZX6beZjE8VD60Wz+7aTrA

On Fri, 29 Aug 2008 10:45:33 +0200 Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org> wrote:

> Hi Andrew,
> 
> On Fri, 29 Aug 2008 00:52:17 -0700, Andrew Morton wrote:
> > 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?
> 

<bisects>

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

--- a/drivers/power/Kconfig~power-support-for-texas-instruments-bq27x00-battery-managers
+++ a/drivers/power/Kconfig
@@ -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
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: s390 allmodconfig
       [not found]         ` <20080829020409.2880013b.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
@ 2008-08-29  9:09           ` Rodolfo Giometti
  2008-08-29 10:47             ` Jean Delvare
  0 siblings, 1 reply; 5+ messages in thread
From: Rodolfo Giometti @ 2008-08-29  9:09 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Martin Schwidefsky, Heiko Carstens, i2c-GZX6beZjE8VD60Wz+7aTrA


[-- Attachment #1.1: Type: text/plain, Size: 2469 bytes --]

On Fri, Aug 29, 2008 at 02:04:09AM -0700, Andrew Morton wrote:
> On Fri, 29 Aug 2008 10:45:33 +0200 Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org> wrote:
> 
> > Hi Andrew,
> > 
> > On Fri, 29 Aug 2008 00:52:17 -0700, Andrew Morton wrote:
> > > 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?
> > 
> 
> <bisects>
> 
> It's
> power-support-for-texas-instruments-bq27x00-battery-managers.patch,
> which does
> 
> --- a/drivers/power/Kconfig~power-support-for-texas-instruments-bq27x00-battery-managers
> +++ a/drivers/power/Kconfig
> @@ -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'?

Yes.

	depends on I2C && BATTERY_BQ27x00

Ciao,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail: giometti-AVVDYK/kqiJWk0Htik3J/w@public.gmane.org
Linux Device Driver                          giometti-k2GhghHVRtY@public.gmane.org
Embedded Systems                     phone:  +39 349 2432127
UNIX programming                     skype:  rodolfo.giometti

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 157 bytes --]

_______________________________________________
i2c mailing list
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: s390 allmodconfig
  2008-08-29  9:09           ` Rodolfo Giometti
@ 2008-08-29 10:47             ` Jean Delvare
  0 siblings, 0 replies; 5+ messages in thread
From: Jean Delvare @ 2008-08-29 10:47 UTC (permalink / raw)
  To: Rodolfo Giometti
  Cc: Schwidefsky, Heiko Carstens, i2c-GZX6beZjE8VD60Wz+7aTrA,
	Martin-cy1Wll9GaHOsTnJN9+BGXg

On Fri, 29 Aug 2008 11:09:18 +0200, Rodolfo Giometti wrote:
> On Fri, Aug 29, 2008 at 02:04:09AM -0700, Andrew Morton wrote:
> > On Fri, 29 Aug 2008 10:45:33 +0200 Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org> wrote:
> > 
> > > Hi Andrew,
> > > 
> > > On Fri, 29 Aug 2008 00:52:17 -0700, Andrew Morton wrote:
> > > > 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?
> > > 
> > 
> > <bisects>
> > 
> > It's
> > power-support-for-texas-instruments-bq27x00-battery-managers.patch,
> > which does
> > 
> > --- a/drivers/power/Kconfig~power-support-for-texas-instruments-bq27x00-battery-managers
> > +++ a/drivers/power/Kconfig
> > @@ -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'?
> 
> Yes.
> 
> 	depends on I2C && BATTERY_BQ27x00
> 

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

-- 
Jean Delvare

_______________________________________________
i2c mailing list
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-08-29 10:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-29  7:52 s390 allmodconfig Andrew Morton
     [not found] ` <20080829005217.509a6c23.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
2008-08-29  8:45   ` Jean Delvare
     [not found]     ` <20080829104533.0e65f43a-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2008-08-29  9:04       ` Andrew Morton
     [not found]         ` <20080829020409.2880013b.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
2008-08-29  9:09           ` Rodolfo Giometti
2008-08-29 10:47             ` Jean Delvare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox