-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM: SAMSUNG: Copy common I2C0 device helpers to machine directories
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
- Loading branch information
Marek Szyprowski
authored and
Ben Dooks
committed
May 19, 2010
1 parent
838c6d4
commit a0f7358
Showing
7 changed files
with
54 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
arch/arm/plat-s5p/setup-i2c0.c → arch/arm/mach-s5p6440/setup-i2c0.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* linux/arch/arm/mach-s5p6442/setup-i2c0.c | ||
* | ||
* Copyright (c) 2009 Samsung Electronics Co., Ltd. | ||
* http://www.samsung.com/ | ||
* | ||
* I2C0 GPIO configuration. | ||
* | ||
* Based on plat-s3c64xx/setup-i2c0.c | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
*/ | ||
|
||
#include <linux/kernel.h> | ||
#include <linux/types.h> | ||
|
||
struct platform_device; /* don't need the contents */ | ||
|
||
#include <plat/iic.h> | ||
|
||
void s3c_i2c0_cfg_gpio(struct platform_device *dev) | ||
{ | ||
/* Will be populated later */ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* linux/arch/arm/mach-s5pv210/setup-i2c0.c | ||
* | ||
* Copyright (c) 2009 Samsung Electronics Co., Ltd. | ||
* http://www.samsung.com/ | ||
* | ||
* I2C0 GPIO configuration. | ||
* | ||
* Based on plat-s3c64xx/setup-i2c0.c | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
*/ | ||
|
||
#include <linux/kernel.h> | ||
#include <linux/types.h> | ||
|
||
struct platform_device; /* don't need the contents */ | ||
|
||
#include <plat/iic.h> | ||
|
||
void s3c_i2c0_cfg_gpio(struct platform_device *dev) | ||
{ | ||
/* Will be populated later */ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,3 @@ obj-y += dev-uart.o | |
obj-y += cpu.o | ||
obj-y += clock.o | ||
obj-y += irq.o | ||
obj-y += setup-i2c0.o |