From: jekhor@gmail.com (Yauhen Kharuzhy)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 08/10] ARM SAMSUNG: Don't export __init functions to modules
Date: Sun, 28 Nov 2010 20:30:26 +0200 [thread overview]
Message-ID: <1290969027-10178-8-git-send-email-jekhor@gmail.com> (raw)
In-Reply-To: <1290969027-10178-1-git-send-email-jekhor@gmail.com>
There are few functions marked as __init, but exported to modules in
devices declaration files.
s3c_nand_set_platdata() and s3c24xx_ts_set_platdata() are used only by
boards init code now, so remove EXPORT_SYMBOL() for them.
Signed-off-by: Yauhen Kharuzhy <jekhor@gmail.com>
---
arch/arm/plat-s3c24xx/devs.c | 1 -
arch/arm/plat-samsung/dev-nand.c | 2 --
2 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/arch/arm/plat-s3c24xx/devs.c b/arch/arm/plat-s3c24xx/devs.c
index 2f91057..10ce666 100644
--- a/arch/arm/plat-s3c24xx/devs.c
+++ b/arch/arm/plat-s3c24xx/devs.c
@@ -194,7 +194,6 @@ void __init s3c24xx_ts_set_platdata(struct s3c2410_ts_mach_info *hard_s3c2410ts_
memcpy(&s3c2410ts_info, hard_s3c2410ts_info, sizeof(struct s3c2410_ts_mach_info));
s3c_device_ts.dev.platform_data = &s3c2410ts_info;
}
-EXPORT_SYMBOL(s3c24xx_ts_set_platdata);
/* USB Device (Gadget)*/
diff --git a/arch/arm/plat-samsung/dev-nand.c b/arch/arm/plat-samsung/dev-nand.c
index 3a7b889..6927ae8 100644
--- a/arch/arm/plat-samsung/dev-nand.c
+++ b/arch/arm/plat-samsung/dev-nand.c
@@ -126,5 +126,3 @@ void __init s3c_nand_set_platdata(struct s3c2410_platform_nand *nand)
s3c_device_nand.dev.platform_data = npd;
}
-
-EXPORT_SYMBOL_GPL(s3c_nand_set_platdata);
--
1.7.2.3
next prev parent reply other threads:[~2010-11-28 18:30 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-28 18:30 [PATCH 01/10] SMDK2416: Select MACH_SMDK, S3C_DEV_NAND, S3C_DEV_USB_HOST Yauhen Kharuzhy
2010-11-28 18:30 ` [PATCH 02/10] ARM S3C2416: Add address map and clock definitions for HSMMC0 Yauhen Kharuzhy
2010-11-30 7:21 ` Kukjin Kim
2010-11-30 8:21 ` Yauhen Kharuzhy
2010-12-03 12:46 ` Kukjin Kim
2010-11-28 18:30 ` [PATCH 03/10] ARM: S3C2416: Add platform helpers for setup SDHCI Yauhen Kharuzhy
2010-11-30 7:37 ` Kukjin Kim
2010-11-30 8:34 ` Yauhen Kharuzhy
2010-12-01 9:57 ` [PATCH v2] " Yauhen Kharuzhy
2010-12-02 20:06 ` Yauhen Kharuzhy
2010-12-10 1:35 ` Kukjin Kim
2010-11-28 18:30 ` [PATCH 04/10] ARM: S3C2416: Add support of SD/MMC card detect on SMDK2416 Yauhen Kharuzhy
2010-11-28 18:30 ` [PATCH 05/10] ARM S3C2443: Select properly ARM core type Yauhen Kharuzhy
2010-11-29 11:08 ` Kukjin Kim
2010-11-29 11:25 ` Yauhen Kharuzhy
2010-11-30 8:45 ` Ben Dooks
2010-11-28 18:30 ` [PATCH 06/10] ARM S3C24XX: Compile NAND device definition for SMDK boards Yauhen Kharuzhy
2010-11-30 7:45 ` Kukjin Kim
2010-11-30 8:27 ` Yauhen Kharuzhy
2010-12-03 12:37 ` Kukjin Kim
2010-12-03 13:24 ` Yauhen Kharuzhy
2010-11-28 18:30 ` [PATCH 07/10] ARM S3C2443: Implement GPIO pull-up/down configuration methods Yauhen Kharuzhy
2010-11-30 8:10 ` Kukjin Kim
2010-11-28 18:30 ` Yauhen Kharuzhy [this message]
2010-11-28 18:30 ` [PATCH 09/10] ARM S3C2412: Fix typo in CONFIG_CPU_S3C2412_ONLY definition Yauhen Kharuzhy
2010-11-30 7:38 ` Kukjin Kim
2010-11-30 8:47 ` Ben Dooks
2010-11-29 10:51 ` [PATCH 01/10] SMDK2416: Select MACH_SMDK, S3C_DEV_NAND, S3C_DEV_USB_HOST Kukjin Kim
2010-11-29 11:22 ` Yauhen Kharuzhy
2010-12-03 12:25 ` Kukjin Kim
2010-12-03 12:39 ` Yauhen Kharuzhy
2010-12-03 12:50 ` Kukjin Kim
2010-11-30 8:33 ` Ben Dooks
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=1290969027-10178-8-git-send-email-jekhor@gmail.com \
--to=jekhor@gmail.com \
--cc=linux-arm-kernel@lists.infradead.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 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).