devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 1/4] i2c: tegra: Add __devinit/exit to probe/remove
@ 2011-12-18  6:29 Stephen Warren
       [not found] ` <1324189772-26914-1-git-send-email-swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 18+ messages in thread
From: Stephen Warren @ 2011-12-18  6:29 UTC (permalink / raw)
  To: Olof Johansson, Colin Cross, Ben Dooks
  Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ, Stephen Warren

This fixes some section mismatch build warnings.

Signed-off-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
v2: New patch.

 drivers/i2c/busses/i2c-tegra.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c
index 46b6500..e8560ed 100644
--- a/drivers/i2c/busses/i2c-tegra.c
+++ b/drivers/i2c/busses/i2c-tegra.c
@@ -558,7 +558,7 @@ static const struct i2c_algorithm tegra_i2c_algo = {
 	.functionality	= tegra_i2c_func,
 };
 
-static int tegra_i2c_probe(struct platform_device *pdev)
+static int __devinit tegra_i2c_probe(struct platform_device *pdev)
 {
 	struct tegra_i2c_dev *i2c_dev;
 	struct tegra_i2c_platform_data *pdata = pdev->dev.platform_data;
@@ -690,7 +690,7 @@ err_iounmap:
 	return ret;
 }
 
-static int tegra_i2c_remove(struct platform_device *pdev)
+static int __devexit tegra_i2c_remove(struct platform_device *pdev)
 {
 	struct tegra_i2c_dev *i2c_dev = platform_get_drvdata(pdev);
 	i2c_del_adapter(&i2c_dev->adapter);
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2012-02-06 16:52 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-18  6:29 [PATCH V2 1/4] i2c: tegra: Add __devinit/exit to probe/remove Stephen Warren
     [not found] ` <1324189772-26914-1-git-send-email-swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2011-12-18  6:29   ` [PATCH V2 2/4] i2c: tegra: Support DVC controller in device tree Stephen Warren
     [not found]     ` <1324189772-26914-2-git-send-email-swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2011-12-20  1:57       ` Olof Johansson
2011-12-18  6:29   ` [PATCH V2 3/4] arm/dt: tegra: Use new compatible value for DVC I2C controller Stephen Warren
     [not found]     ` <1324189772-26914-3-git-send-email-swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2011-12-20  1:58       ` Olof Johansson
2011-12-18  6:29   ` [PATCH V2 4/4] arm/dt: Add ADT7461 to Seaboard Stephen Warren
     [not found]     ` <1324189772-26914-4-git-send-email-swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2011-12-20  1:59       ` Olof Johansson
2011-12-19  6:53   ` [PATCH V2 1/4] i2c: tegra: Add __devinit/exit to probe/remove Shubhrajyoti Datta
     [not found]     ` <CAM=Q2csGoQR8PZhQO_oeVZt9CqEq377Ut8swY5g12M_=71on9g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-12-19 16:59       ` Stephen Warren
2011-12-20  1:56   ` Olof Johansson
     [not found]     ` <20111220015634.GA27789-O5ziIzlqnXUVNXGz7ipsyg@public.gmane.org>
2011-12-20  6:15       ` Shubhrajyoti Datta
     [not found]         ` <CAM=Q2cs8K4vraWPNqervcmxEqUGiAbng+44+L9OhD3ijPw9tAA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-12-20 21:47           ` Stephen Warren
     [not found]             ` <74CDBE0F657A3D45AFBB94109FB122FF176BE92E21-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2012-01-06 16:26               ` Ben Dooks
     [not found]                 ` <20120106162615.GA8441-SMNkleLxa3Z6Wcw2j4pizdi2O/JbrIOy@public.gmane.org>
2012-01-06 16:47                   ` Stephen Warren
     [not found]                     ` <74CDBE0F657A3D45AFBB94109FB122FF177EE39E15-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2012-01-06 17:45                       ` Olof Johansson
     [not found]                         ` <CAOesGMjx0nA5Y_Cv8ECBcZP45EyR5BPUNXEapCN3JjdWTjpo8A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-02-04  0:05                           ` Stephen Warren
2012-02-06 16:52                       ` [PATCH V2 1/4] i2c: tegra: Add __devinit/exit to probe/removeG Olof Johansson
2012-01-06 16:22   ` [PATCH V2 1/4] i2c: tegra: Add __devinit/exit to probe/remove Ben Dooks

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).