* [PATCH 1/2] S3C64XX: Staticise audio platform data
@ 2010-01-20 13:06 Mark Brown
2010-01-20 13:06 ` [PATCH 2/2] SAMSUNG: Staticise gpiolib implementation functions Mark Brown
2010-01-21 1:45 ` [PATCH 1/2] S3C64XX: Staticise audio platform data Ben Dooks
0 siblings, 2 replies; 4+ messages in thread
From: Mark Brown @ 2010-01-20 13:06 UTC (permalink / raw)
To: linux-arm-kernel
It's not exported.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
arch/arm/plat-s3c64xx/dev-audio.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/plat-s3c64xx/dev-audio.c b/arch/arm/plat-s3c64xx/dev-audio.c
index 5b89344..f6b7bfb 100644
--- a/arch/arm/plat-s3c64xx/dev-audio.c
+++ b/arch/arm/plat-s3c64xx/dev-audio.c
@@ -80,7 +80,7 @@ static struct resource s3c64xx_iis0_resource[] = {
},
};
-struct s3c_audio_pdata s3c_i2s0_pdata = {
+static struct s3c_audio_pdata s3c_i2s0_pdata = {
.cfg_gpio = s3c64xx_i2sv3_cfg_gpio,
};
@@ -113,7 +113,7 @@ static struct resource s3c64xx_iis1_resource[] = {
},
};
-struct s3c_audio_pdata s3c_i2s1_pdata = {
+static struct s3c_audio_pdata s3c_i2s1_pdata = {
.cfg_gpio = s3c64xx_i2sv3_cfg_gpio,
};
@@ -146,7 +146,7 @@ static struct resource s3c64xx_iisv4_resource[] = {
},
};
-struct s3c_audio_pdata s3c_i2sv4_pdata = {
+static struct s3c_audio_pdata s3c_i2sv4_pdata = {
.cfg_gpio = s3c64xx_i2sv4_cfg_gpio,
};
--
1.6.6
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] SAMSUNG: Staticise gpiolib implementation functions
2010-01-20 13:06 [PATCH 1/2] S3C64XX: Staticise audio platform data Mark Brown
@ 2010-01-20 13:06 ` Mark Brown
2010-01-21 1:45 ` [PATCH 1/2] S3C64XX: Staticise audio platform data Ben Dooks
1 sibling, 0 replies; 4+ messages in thread
From: Mark Brown @ 2010-01-20 13:06 UTC (permalink / raw)
To: linux-arm-kernel
They are not exported, they are referenced via vtables.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
arch/arm/plat-samsung/gpiolib.c | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/arch/arm/plat-samsung/gpiolib.c b/arch/arm/plat-samsung/gpiolib.c
index 3419b67..8a8ba8b 100644
--- a/arch/arm/plat-samsung/gpiolib.c
+++ b/arch/arm/plat-samsung/gpiolib.c
@@ -44,7 +44,8 @@
* the output.
*/
-int samsung_gpiolib_4bit_input(struct gpio_chip *chip, unsigned int offset)
+static int samsung_gpiolib_4bit_input(struct gpio_chip *chip,
+ unsigned int offset)
{
struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip);
void __iomem *base = ourchip->base;
@@ -59,8 +60,8 @@ int samsung_gpiolib_4bit_input(struct gpio_chip *chip, unsigned int offset)
return 0;
}
-int samsung_gpiolib_4bit_output(struct gpio_chip *chip,
- unsigned int offset, int value)
+static int samsung_gpiolib_4bit_output(struct gpio_chip *chip,
+ unsigned int offset, int value)
{
struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip);
void __iomem *base = ourchip->base;
@@ -106,9 +107,10 @@ int samsung_gpiolib_4bit_output(struct gpio_chip *chip,
* To allow us to use the s3c_gpiolib_get and s3c_gpiolib_set routines we
* store the 'base + 0x4' address so that these routines see the data
* register at ourchip->base + 0x04.
-*/
+ */
-int samsung_gpiolib_4bit2_input(struct gpio_chip *chip, unsigned int offset)
+static int samsung_gpiolib_4bit2_input(struct gpio_chip *chip,
+ unsigned int offset)
{
struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip);
void __iomem *base = ourchip->base;
@@ -129,8 +131,8 @@ int samsung_gpiolib_4bit2_input(struct gpio_chip *chip, unsigned int offset)
return 0;
}
-int samsung_gpiolib_4bit2_output(struct gpio_chip *chip,
- unsigned int offset, int value)
+static int samsung_gpiolib_4bit2_output(struct gpio_chip *chip,
+ unsigned int offset, int value)
{
struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip);
void __iomem *base = ourchip->base;
--
1.6.6
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 1/2] S3C64XX: Staticise audio platform data
2010-01-20 13:06 [PATCH 1/2] S3C64XX: Staticise audio platform data Mark Brown
2010-01-20 13:06 ` [PATCH 2/2] SAMSUNG: Staticise gpiolib implementation functions Mark Brown
@ 2010-01-21 1:45 ` Ben Dooks
2010-01-21 10:11 ` Mark Brown
1 sibling, 1 reply; 4+ messages in thread
From: Ben Dooks @ 2010-01-21 1:45 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Jan 20, 2010 at 01:06:04PM +0000, Mark Brown wrote:
> It's not exported.
applied these all to next-samsung-s3c64xx2, will merge into next-samsung
next time, please add ARM: to the prefix, it would save time when applying
to the tree.
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
> ---
> arch/arm/plat-s3c64xx/dev-audio.c | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/plat-s3c64xx/dev-audio.c b/arch/arm/plat-s3c64xx/dev-audio.c
> index 5b89344..f6b7bfb 100644
> --- a/arch/arm/plat-s3c64xx/dev-audio.c
> +++ b/arch/arm/plat-s3c64xx/dev-audio.c
> @@ -80,7 +80,7 @@ static struct resource s3c64xx_iis0_resource[] = {
> },
> };
>
> -struct s3c_audio_pdata s3c_i2s0_pdata = {
> +static struct s3c_audio_pdata s3c_i2s0_pdata = {
> .cfg_gpio = s3c64xx_i2sv3_cfg_gpio,
> };
>
> @@ -113,7 +113,7 @@ static struct resource s3c64xx_iis1_resource[] = {
> },
> };
>
> -struct s3c_audio_pdata s3c_i2s1_pdata = {
> +static struct s3c_audio_pdata s3c_i2s1_pdata = {
> .cfg_gpio = s3c64xx_i2sv3_cfg_gpio,
> };
>
> @@ -146,7 +146,7 @@ static struct resource s3c64xx_iisv4_resource[] = {
> },
> };
>
> -struct s3c_audio_pdata s3c_i2sv4_pdata = {
> +static struct s3c_audio_pdata s3c_i2sv4_pdata = {
> .cfg_gpio = s3c64xx_i2sv4_cfg_gpio,
> };
>
> --
> 1.6.6
>
--
--
Ben
Q: What's a light-year?
A: One-third less calories than a regular year.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] S3C64XX: Staticise audio platform data
2010-01-21 1:45 ` [PATCH 1/2] S3C64XX: Staticise audio platform data Ben Dooks
@ 2010-01-21 10:11 ` Mark Brown
0 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2010-01-21 10:11 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Jan 21, 2010 at 01:45:30AM +0000, Ben Dooks wrote:
> On Wed, Jan 20, 2010 at 01:06:04PM +0000, Mark Brown wrote:
> > It's not exported.
> applied these all to next-samsung-s3c64xx2, will merge into next-samsung
> next time, please add ARM: to the prefix, it would save time when applying
> to the tree.
Is that definite? The ARM generic bit of the prefix seems to waver
between [ARM] and ARM:.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-01-21 10:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-20 13:06 [PATCH 1/2] S3C64XX: Staticise audio platform data Mark Brown
2010-01-20 13:06 ` [PATCH 2/2] SAMSUNG: Staticise gpiolib implementation functions Mark Brown
2010-01-21 1:45 ` [PATCH 1/2] S3C64XX: Staticise audio platform data Ben Dooks
2010-01-21 10:11 ` Mark Brown
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).