52 lines
1.3 KiB
Diff
52 lines
1.3 KiB
Diff
Subject: m68k: kill arch/m68k/mvme16x/mvme16x_ksyms.c
|
|
|
|
From: Adrian Bunk <bunk@kernel.org>
|
|
|
|
m68k: kill arch/m68k/mvme16x/mvme16x_ksyms.c
|
|
|
|
EXPORT_SYMBOL's belong to the actual code.
|
|
|
|
Signed-off-by: Adrian Bunk <bunk@kernel.org>
|
|
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
|
|
---
|
|
arch/m68k/mvme16x/Makefile | 2 +-
|
|
arch/m68k/mvme16x/config.c | 2 ++
|
|
arch/m68k/mvme16x/mvme16x_ksyms.c | 6 ------
|
|
3 files changed, 3 insertions(+), 7 deletions(-)
|
|
|
|
--- a/arch/m68k/mvme16x/Makefile
|
|
+++ b/arch/m68k/mvme16x/Makefile
|
|
@@ -2,4 +2,4 @@
|
|
# Makefile for Linux arch/m68k/mvme16x source directory
|
|
#
|
|
|
|
-obj-y := config.o rtc.o mvme16x_ksyms.o
|
|
+obj-y := config.o rtc.o
|
|
--- a/arch/m68k/mvme16x/config.c
|
|
+++ b/arch/m68k/mvme16x/config.c
|
|
@@ -25,6 +25,7 @@
|
|
#include <linux/genhd.h>
|
|
#include <linux/rtc.h>
|
|
#include <linux/interrupt.h>
|
|
+#include <linux/module.h>
|
|
|
|
#include <asm/bootinfo.h>
|
|
#include <asm/system.h>
|
|
@@ -58,6 +59,7 @@ static irq_handler_t tick_handler;
|
|
|
|
|
|
unsigned short mvme16x_config;
|
|
+EXPORT_SYMBOL(mvme16x_config);
|
|
|
|
|
|
int mvme16x_parse_bootinfo(const struct bi_record *bi)
|
|
--- a/arch/m68k/mvme16x/mvme16x_ksyms.c
|
|
+++ /dev/null
|
|
@@ -1,6 +0,0 @@
|
|
-#include <linux/module.h>
|
|
-#include <linux/types.h>
|
|
-#include <asm/ptrace.h>
|
|
-#include <asm/mvme16xhw.h>
|
|
-
|
|
-EXPORT_SYMBOL(mvme16x_config);
|