public inbox for linux-sh@vger.kernel.org
 help / color / mirror / Atom feed
From: Luca Santini <luca.santini@spesonline.com>
To: linux-sh@vger.kernel.org
Subject: sh7760 i2c problem
Date: Thu, 24 Jul 2008 11:34:09 +0000	[thread overview]
Message-ID: <488868B1.7000601@spesonline.com> (raw)


if i try to compile it as a module, i get:

WARNING: drivers/i2c/busses/i2c-sh7760.o(.data+0x0): Section mismatch in 
reference from the variable sh7760_i2c_drv to the function 
.devinit.text:sh7760_i2c_probe()
The variable sh7760_i2c_drv references
the function __devinit sh7760_i2c_probe()
If the reference is valid then annotate the
variable with __init* (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, 
*_console,

WARNING: drivers/i2c/busses/i2c-sh7760.o(.data+0x4): Section mismatch in 
reference from the variable sh7760_i2c_drv to the function 
.devexit.text:sh7760_i2c_remove()
The variable sh7760_i2c_drv references
the function __devexit sh7760_i2c_remove()
If the reference is valid then annotate the
variable with __exit* (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, 
*_console,



how to fix this?

             reply	other threads:[~2008-07-24 11:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-24 11:34 Luca Santini [this message]
2008-07-24 11:37 ` sh7760 i2c problem Manuel Lauss

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=488868B1.7000601@spesonline.com \
    --to=luca.santini@spesonline.com \
    --cc=linux-sh@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox