All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] i2c-keywest.c: declare probe earlier
@ 2005-05-19  6:25 Dave Hansen
  0 siblings, 0 replies; only message in thread
From: Dave Hansen @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors

Hi Greg,

This is against 2.6.8-rc4-mm1, and is caused by the bk-pci.patch.

I got the following errors during a x86->ppc64 allyesconfig
cross-compile with gcc 3.3.3.  But, it should be a generic error. 

drivers/i2c/busses/i2c-keywest.c: In function `__check_probe':
drivers/i2c/busses/i2c-keywest.c:94: error: `probe' undeclared (first use in this function)
drivers/i2c/busses/i2c-keywest.c:94: error: (Each undeclared identifier is reported only once
drivers/i2c/busses/i2c-keywest.c:94: error: for each function it appears in.)
drivers/i2c/busses/i2c-keywest.c: At top level:
drivers/i2c/busses/i2c-keywest.c:94: error: `probe' undeclared here (not in a function)
drivers/i2c/busses/i2c-keywest.c:94: error: initializer element is not constant
drivers/i2c/busses/i2c-keywest.c:94: error: (near initialization for `__param_probe.arg')
drivers/i2c/busses/i2c-keywest.c:96: error: `probe' used prior to declaration

Attached patch makes it compile for me.  

-- Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: i2c-wrongorder.patch
Type: text/x-patch
Size: 595 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20040810/2c830c72/i2c-wrongorder.bin

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-05-19  6:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-19  6:25 [PATCH] i2c-keywest.c: declare probe earlier Dave Hansen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.