Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
a1a9e88f
Commit
a1a9e88f
authored
Sep 05, 2016
by
Geert Uytterhoeven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
m68k: Use IS_ENABLED() instead of checking for built-in or module
Signed-off-by:
Geert Uytterhoeven
<
geert@linux-m68k.org
>
parent
986d8046
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
arch/m68k/amiga/config.c
arch/m68k/amiga/config.c
+1
-1
arch/m68k/atari/config.c
arch/m68k/atari/config.c
+1
-1
arch/m68k/kernel/setup_mm.c
arch/m68k/kernel/setup_mm.c
+1
-1
arch/m68k/mac/config.c
arch/m68k/mac/config.c
+1
-1
arch/m68k/q40/config.c
arch/m68k/q40/config.c
+1
-1
No files found.
arch/m68k/amiga/config.c
View file @
a1a9e88f
...
...
@@ -396,7 +396,7 @@ void __init config_amiga(void)
mach_max_dma_address
=
0xffffffff
;
mach_reset
=
amiga_reset
;
#if
defined(CONFIG_INPUT_M68K_BEEP) || defined(CONFIG_INPUT_M68K_BEEP_MODULE
)
#if
IS_ENABLED(CONFIG_INPUT_M68K_BEEP
)
mach_beep
=
amiga_mksound
;
#endif
...
...
arch/m68k/atari/config.c
View file @
a1a9e88f
...
...
@@ -211,7 +211,7 @@ void __init config_atari(void)
arch_gettimeoffset
=
atari_gettimeoffset
;
mach_reset
=
atari_reset
;
mach_max_dma_address
=
0xffffff
;
#if
defined(CONFIG_INPUT_M68K_BEEP) || defined(CONFIG_INPUT_M68K_BEEP_MODULE
)
#if
IS_ENABLED(CONFIG_INPUT_M68K_BEEP
)
mach_beep
=
atari_mksound
;
#endif
#ifdef CONFIG_HEARTBEAT
...
...
arch/m68k/kernel/setup_mm.c
View file @
a1a9e88f
...
...
@@ -105,7 +105,7 @@ EXPORT_SYMBOL(mach_heartbeat);
#ifdef CONFIG_M68K_L2_CACHE
void
(
*
mach_l2_flush
)
(
int
);
#endif
#if
defined(CONFIG_INPUT_M68K_BEEP) || defined(CONFIG_INPUT_M68K_BEEP_MODULE
)
#if
IS_ENABLED(CONFIG_INPUT_M68K_BEEP
)
void
(
*
mach_beep
)(
unsigned
int
,
unsigned
int
);
EXPORT_SYMBOL
(
mach_beep
);
#endif
...
...
arch/m68k/mac/config.c
View file @
a1a9e88f
...
...
@@ -162,7 +162,7 @@ void __init config_mac(void)
mach_halt
=
mac_poweroff
;
mach_power_off
=
mac_poweroff
;
mach_max_dma_address
=
0xffffffff
;
#if
defined(CONFIG_INPUT_M68K_BEEP) || defined(CONFIG_INPUT_M68K_BEEP_MODULE
)
#if
IS_ENABLED(CONFIG_INPUT_M68K_BEEP
)
mach_beep
=
mac_mksound
;
#endif
...
...
arch/m68k/q40/config.c
View file @
a1a9e88f
...
...
@@ -180,7 +180,7 @@ void __init config_q40(void)
mach_reset
=
q40_reset
;
mach_get_model
=
q40_get_model
;
#if
defined(CONFIG_INPUT_M68K_BEEP) || defined(CONFIG_INPUT_M68K_BEEP_MODULE
)
#if
IS_ENABLED(CONFIG_INPUT_M68K_BEEP
)
mach_beep
=
q40_mksound
;
#endif
#ifdef CONFIG_HEARTBEAT
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment