linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: mcuos.com@gmail.com (Wan ZongShun)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] NUC900: Add extern header file support for some driver
Date: Sun, 03 Jan 2010 10:19:38 +0800	[thread overview]
Message-ID: <4B3FFEBA.6010101@gmail.com> (raw)
In-Reply-To: <4B3F7EC3.7060707@ru.mvista.com>

Dear  Sergei,

You are right, and it reason from my mail client setting.
Re-submit it.

Signed-off-by: Wan ZongShun <mcuos.com@gmail.com>
---
  arch/arm/mach-w90x900/include/mach/clkdev.h |    3 +++
  arch/arm/mach-w90x900/include/mach/mfp.h    |   23 +++++++++++++++++++++++
  2 files changed, 26 insertions(+), 0 deletions(-)
  create mode 100644 arch/arm/mach-w90x900/include/mach/mfp.h

diff --git a/arch/arm/mach-w90x900/include/mach/clkdev.h 
b/arch/arm/mach-w90x900/include/mach/clkdev.h
index 04b37a8..b35f4bc 100644
--- a/arch/arm/mach-w90x900/include/mach/clkdev.h
+++ b/arch/arm/mach-w90x900/include/mach/clkdev.h
@@ -4,4 +4,7 @@
  #define __clk_get(clk) ({ 1; })
  #define __clk_put(clk) do { } while (0)

+extern void nuc900_driver_clksrc_div(struct device *dev, unsigned char *src,
+							unsigned char divider);
+
  #endif
diff --git a/arch/arm/mach-w90x900/include/mach/mfp.h 
b/arch/arm/mach-w90x900/include/mach/mfp.h
new file mode 100644
index 0000000..69a094a
--- /dev/null
+++ b/arch/arm/mach-w90x900/include/mach/mfp.h
@@ -0,0 +1,23 @@
+/*
+ * arch/arm/mach-w90x900/include/mach/mfp.h
+ *
+ * Copyright (c) 2008 Nuvoton technology corporation
+ * All rights reserved.
+ *
+ * Wan ZongShun <mcuos.com@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ */
+#ifndef __ASM_ARM_MFP_H
+#define __ASM_ARM_MFP_H
+
+extern void mfp_set_groupf(struct device *dev);
+extern void mfp_set_groupc(struct device *dev);
+extern void mfp_set_groupi(struct device *dev);
+extern void mfp_set_groupg(struct device *dev);
+
+#endif /* __ASM_ARM_MFP_H */
-- 
1.5.6.3

  parent reply	other threads:[~2010-01-03  2:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-02 15:44 [PATCH] NUC900: Add extern header file support for some driver Wan ZongShun
     [not found] ` <4B3F7EC3.7060707@ru.mvista.com>
2010-01-03  2:19   ` Wan ZongShun [this message]
2010-01-04 16:42 ` Ben Dooks
2010-01-04 16:58 ` Russell King - ARM Linux
2010-01-05  2:26   ` 王强
2010-01-05  2:43     ` Wan ZongShun
2010-01-05  3:02       ` Wang Qiang

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=4B3FFEBA.6010101@gmail.com \
    --to=mcuos.com@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).