Skip to content

Commit

Permalink
ARM: mach-integrator: move CM_CTRL to header file for accessing by ot…
Browse files Browse the repository at this point in the history
…her functions

Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
  • Loading branch information
Bryan Wu committed Aug 1, 2012
1 parent 77a4949 commit b7ea032
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/arm/mach-integrator/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

/**
Expand Down
2 changes: 2 additions & 0 deletions arch/arm/mach-integrator/include/mach/cm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b7ea032

Please sign in to comment.