| To: | ralf@linux-mips.org |
|---|---|
| Subject: | [PATCH 5/5] MIPS: dont use module.h just to export symbols in asm/uasm.h |
| From: | Paul Gortmaker <paul.gortmaker@windriver.com> |
| Date: | Tue, 28 Feb 2012 14:24:48 -0500 |
| Cc: | linux-mips@linux-mips.org, Paul Gortmaker <paul.gortmaker@windriver.com> |
| In-reply-to: | <1330457088-14587-1-git-send-email-paul.gortmaker@windriver.com> |
| References: | <1330457088-14587-1-git-send-email-paul.gortmaker@windriver.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
Putting module.h into widely used headers just bogs cpp down with reams of stuff that isn't needed. Here, we only need visibility to EXPORT_SYMBOL. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> --- arch/mips/include/asm/uasm.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/mips/include/asm/uasm.h b/arch/mips/include/asm/uasm.h index 504d40a..440a21d 100644 --- a/arch/mips/include/asm/uasm.h +++ b/arch/mips/include/asm/uasm.h @@ -11,7 +11,7 @@ #include <linux/types.h> #ifdef CONFIG_EXPORT_UASM -#include <linux/module.h> +#include <linux/export.h> #define __uasminit #define __uasminitdata #define UASM_EXPORT_SYMBOL(sym) EXPORT_SYMBOL(sym) -- 1.7.9.1 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 4/5] MIPS: delete bogus module.h usage in termios.h, Paul Gortmaker |
|---|---|
| Next by Date: | Re: [PATCH 00/12] Part 2: check given MAC address, if invalid return -EADDRNOTAVAIL, Danny Kukawka |
| Previous by Thread: | [PATCH 4/5] MIPS: delete bogus module.h usage in termios.h, Paul Gortmaker |
| Next by Thread: | [PATCH v6 0/2] of: Device Tree enhancements needed by MIPS/OCTEON, David Daney |
| Indexes: | [Date] [Thread] [Top] [All Lists] |