aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/atari/Makefile
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2019-01-15 15:18:56 +1100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-22 10:21:43 +0100
commit437ace3777abc15d013d04e6644b100040bc613d (patch)
treea7bb59b48d04226090846ebfb4228d704f5460cf /arch/m68k/atari/Makefile
parentscsi/atari_scsi: Don't select CONFIG_NVRAM (diff)
downloadlinux-dev-437ace3777abc15d013d04e6644b100040bc613d.tar.xz
linux-dev-437ace3777abc15d013d04e6644b100040bc613d.zip
m68k/atari: Move Atari-specific code out of drivers/char/nvram.c
Move the m68k-specific code out of the driver to make the driver generic. I've used 'SPDX-License-Identifier: GPL-2.0+' for the new file because the old file is covered by MODULE_LICENSE("GPL"). Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/m68k/atari/Makefile')
-rw-r--r--arch/m68k/atari/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/m68k/atari/Makefile b/arch/m68k/atari/Makefile
index 0cac723306f9..0b86bb6cfa87 100644
--- a/arch/m68k/atari/Makefile
+++ b/arch/m68k/atari/Makefile
@@ -6,3 +6,5 @@ obj-y := config.o time.o debug.o ataints.o stdma.o \
atasound.o stram.o
obj-$(CONFIG_ATARI_KBD_CORE) += atakeyb.o
+
+obj-$(CONFIG_NVRAM:m=y) += nvram.o