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
nexedi
linux
Commits
b7ea032e
Commit
b7ea032e
authored
Mar 14, 2012
by
Bryan Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: mach-integrator: move CM_CTRL to header file for accessing by other functions
Signed-off-by:
Bryan Wu
<
bryan.wu@canonical.com
>
parent
77a49494
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
arch/arm/mach-integrator/core.c
arch/arm/mach-integrator/core.c
+0
-2
arch/arm/mach-integrator/include/mach/cm.h
arch/arm/mach-integrator/include/mach/cm.h
+2
-0
No files found.
arch/arm/mach-integrator/core.c
View file @
b7ea032e
...
...
@@ -172,8 +172,6 @@ static struct amba_pl010_data integrator_uart_data = {
.
set_mctrl
=
integrator_uart_set_mctrl
,
};
#define CM_CTRL IO_ADDRESS(INTEGRATOR_HDR_CTRL)
static
DEFINE_RAW_SPINLOCK
(
cm_lock
);
/**
...
...
arch/arm/mach-integrator/include/mach/cm.h
View file @
b7ea032e
...
...
@@ -3,6 +3,8 @@
*/
void
cm_control
(
u32
,
u32
);
#define CM_CTRL IO_ADDRESS(INTEGRATOR_HDR_CTRL)
#define CM_CTRL_LED (1 << 0)
#define CM_CTRL_nMBDET (1 << 1)
#define CM_CTRL_REMAP (1 << 2)
...
...
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