From: Randy Dunlap <randy.dunlap@oracle.com>
To: Stephen Rothwell <sfr@canb.auug.org.au>,
Baruch Siach <baruch@tkos.co.il>,
linux-i2c@vger.kernel.org
Cc: linux-next@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>,
khali@linux-fr.org, ben-linux@fluff.org
Subject: [PATCH -next] i2c: designware-pcidrv depends on PCI
Date: Wed, 16 Mar 2011 11:38:55 -0700 [thread overview]
Message-ID: <20110316113855.ec5410c7.randy.dunlap@oracle.com> (raw)
In-Reply-To: <20110316191444.d91a3263.sfr@canb.auug.org.au>
From: Randy Dunlap <randy.dunlap@oracle.com>
i2c-designware-pcidrv is a PCI driver and should depend on PCI.
Fixes these build errors:
drivers/i2c/busses/i2c-designware-pcidrv.c:256: error: implicit declaration of function 'pci_request_region'
drivers/i2c/busses/i2c-designware-pcidrv.c:338: error: implicit declaration of function 'pci_release_region'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Baruch Siach <baruch@tkos.co.il>
---
drivers/i2c/busses/Kconfig | 1 +
1 file changed, 1 insertion(+)
--- linux-next-20110316.orig/drivers/i2c/busses/Kconfig
+++ linux-next-20110316/drivers/i2c/busses/Kconfig
@@ -359,6 +359,7 @@ config I2C_DESIGNWARE_PLATFORM
config I2C_DESIGNWARE_PCI
tristate "Synopsys DesignWare PCI"
+ depends on PCI
help
If you say yes to this option, support will be included for the
Synopsys DesignWare I2C adapter. Only master mode is supported.
prev parent reply other threads:[~2011-03-16 18:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-16 8:14 linux-next: Tree for March 16 Stephen Rothwell
2011-03-16 16:32 ` linux-next: Tree for March 16 (nfsd) Randy Dunlap
2011-03-16 16:44 ` J. Bruce Fields
2011-03-16 18:38 ` Randy Dunlap [this message]
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=20110316113855.ec5410c7.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=baruch@tkos.co.il \
--cc=ben-linux@fluff.org \
--cc=khali@linux-fr.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=sfr@canb.auug.org.au \
/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;
as well as URLs for NNTP newsgroup(s).