From: haveblue@us.ibm.com (Dave Hansen)
To: lm-sensors@vger.kernel.org
Subject: [PATCH] i2c-keywest.c: declare probe earlier
Date: Thu, 19 May 2005 06:25:11 +0000 [thread overview]
Message-ID: <1092186044.2813.66.camel@nighthawk> (raw)
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
reply other threads:[~2005-05-19 6:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1092186044.2813.66.camel@nighthawk \
--to=haveblue@us.ibm.com \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.