From: Fengguang Wu <fengguang.wu@intel.com>
To: kernel-janitors@vger.kernel.org
Subject: [arm-soc:next/drivers 26/30] drivers/i2c/busses/i2c-tegra.c:622:2: warning: initialization discards
Date: Wed, 19 Sep 2012 15:52:58 +0000 [thread overview]
Message-ID: <20120919155258.GA31506@localhost> (raw)
Hi Laxman,
FYI, there are new compile warnings show up in
tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git next/drivers
head: 25696b4b3541d5f7641b61e6abfda765426834b8
commit: 6ad068ed63100f1bb2f65340e2de9b8727526ef8 [26/30] i2c: tegra: I2_M_NOSTART functionality not supported in Tegra20
config: arm-tegra_defconfig
All error/warnings:
drivers/i2c/busses/i2c-tegra.c:622:2: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
drivers/i2c/busses/i2c-tegra.c:623:2: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
drivers/i2c/busses/i2c-tegra.c:624:2: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
vim +622 drivers/i2c/busses/i2c-tegra.c
612 .has_continue_xfer_support = false,
613 };
614
615 static const struct tegra_i2c_hw_feature tegra30_i2c_hw = {
616 .has_continue_xfer_support = true,
617 };
618
619 #if defined(CONFIG_OF)
620 /* Match table for of_platform binding */
621 static const struct of_device_id tegra_i2c_of_match[] __devinitconst = {
> 622 { .compatible = "nvidia,tegra30-i2c", .data = &tegra30_i2c_hw, },
623 { .compatible = "nvidia,tegra20-i2c", .data = &tegra20_i2c_hw, },
624 { .compatible = "nvidia,tegra20-i2c-dvc", .data = &tegra20_i2c_hw, },
625 {},
626 };
627 MODULE_DEVICE_TABLE(of, tegra_i2c_of_match);
628 #endif
629
630 static int __devinit tegra_i2c_probe(struct platform_device *pdev)
631 {
632 struct tegra_i2c_dev *i2c_dev;
---
0-DAY kernel build testing backend Open Source Technology Centre
Fengguang Wu, Yuanhan Liu Intel Corporation
reply other threads:[~2012-09-19 15:52 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=20120919155258.GA31506@localhost \
--to=fengguang.wu@intel.com \
--cc=kernel-janitors@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.