forked from Minki/linux
OMAP2/3 PRCM: don't export prm_*(), cm_*() functions
Device drivers and loadable modules should not be calling these prm_* and cm_* functions, so stop exporting them. Only core code and device driver integration code (in arch/arm/*omap*) should call these functions. Signed-off-by: Paul Walmsley <paul@pwsan.com>
This commit is contained in:
parent
52650505fb
commit
42d75e7df3
@ -170,14 +170,12 @@ u32 prm_read_mod_reg(s16 module, u16 idx)
|
|||||||
{
|
{
|
||||||
return __omap_prcm_read(prm_base, module, idx);
|
return __omap_prcm_read(prm_base, module, idx);
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(prm_read_mod_reg);
|
|
||||||
|
|
||||||
/* Write into a register in a PRM module */
|
/* Write into a register in a PRM module */
|
||||||
void prm_write_mod_reg(u32 val, s16 module, u16 idx)
|
void prm_write_mod_reg(u32 val, s16 module, u16 idx)
|
||||||
{
|
{
|
||||||
__omap_prcm_write(val, prm_base, module, idx);
|
__omap_prcm_write(val, prm_base, module, idx);
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(prm_write_mod_reg);
|
|
||||||
|
|
||||||
/* Read-modify-write a register in a PRM module. Caller must lock */
|
/* Read-modify-write a register in a PRM module. Caller must lock */
|
||||||
u32 prm_rmw_mod_reg_bits(u32 mask, u32 bits, s16 module, s16 idx)
|
u32 prm_rmw_mod_reg_bits(u32 mask, u32 bits, s16 module, s16 idx)
|
||||||
@ -191,21 +189,18 @@ u32 prm_rmw_mod_reg_bits(u32 mask, u32 bits, s16 module, s16 idx)
|
|||||||
|
|
||||||
return v;
|
return v;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(prm_rmw_mod_reg_bits);
|
|
||||||
|
|
||||||
/* Read a register in a CM module */
|
/* Read a register in a CM module */
|
||||||
u32 cm_read_mod_reg(s16 module, u16 idx)
|
u32 cm_read_mod_reg(s16 module, u16 idx)
|
||||||
{
|
{
|
||||||
return __omap_prcm_read(cm_base, module, idx);
|
return __omap_prcm_read(cm_base, module, idx);
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(cm_read_mod_reg);
|
|
||||||
|
|
||||||
/* Write into a register in a CM module */
|
/* Write into a register in a CM module */
|
||||||
void cm_write_mod_reg(u32 val, s16 module, u16 idx)
|
void cm_write_mod_reg(u32 val, s16 module, u16 idx)
|
||||||
{
|
{
|
||||||
__omap_prcm_write(val, cm_base, module, idx);
|
__omap_prcm_write(val, cm_base, module, idx);
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(cm_write_mod_reg);
|
|
||||||
|
|
||||||
/* Read-modify-write a register in a CM module. Caller must lock */
|
/* Read-modify-write a register in a CM module. Caller must lock */
|
||||||
u32 cm_rmw_mod_reg_bits(u32 mask, u32 bits, s16 module, s16 idx)
|
u32 cm_rmw_mod_reg_bits(u32 mask, u32 bits, s16 module, s16 idx)
|
||||||
@ -219,7 +214,6 @@ u32 cm_rmw_mod_reg_bits(u32 mask, u32 bits, s16 module, s16 idx)
|
|||||||
|
|
||||||
return v;
|
return v;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(cm_rmw_mod_reg_bits);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* omap2_cm_wait_idlest - wait for IDLEST bit to indicate module readiness
|
* omap2_cm_wait_idlest - wait for IDLEST bit to indicate module readiness
|
||||||
|
Loading…
Reference in New Issue
Block a user