@@ -3241,9 +3241,10 @@ static int omap_hwmod_init_regbits(struct device *dev,
3241
3241
* @sysc_offs: sysc register offset
3242
3242
* @syss_offs: syss register offset
3243
3243
*/
3244
- int omap_hwmod_init_reg_offs (struct device * dev ,
3245
- const struct ti_sysc_module_data * data ,
3246
- s32 * rev_offs , s32 * sysc_offs , s32 * syss_offs )
3244
+ static int omap_hwmod_init_reg_offs (struct device * dev ,
3245
+ const struct ti_sysc_module_data * data ,
3246
+ s32 * rev_offs , s32 * sysc_offs ,
3247
+ s32 * syss_offs )
3247
3248
{
3248
3249
* rev_offs = - ENODEV ;
3249
3250
* sysc_offs = 0 ;
@@ -3267,9 +3268,9 @@ int omap_hwmod_init_reg_offs(struct device *dev,
3267
3268
* @data: module data
3268
3269
* @sysc_flags: module configuration
3269
3270
*/
3270
- int omap_hwmod_init_sysc_flags (struct device * dev ,
3271
- const struct ti_sysc_module_data * data ,
3272
- u32 * sysc_flags )
3271
+ static int omap_hwmod_init_sysc_flags (struct device * dev ,
3272
+ const struct ti_sysc_module_data * data ,
3273
+ u32 * sysc_flags )
3273
3274
{
3274
3275
* sysc_flags = 0 ;
3275
3276
@@ -3341,9 +3342,9 @@ int omap_hwmod_init_sysc_flags(struct device *dev,
3341
3342
* @data: module data
3342
3343
* @idlemodes: module supported idle modes
3343
3344
*/
3344
- int omap_hwmod_init_idlemodes (struct device * dev ,
3345
- const struct ti_sysc_module_data * data ,
3346
- u32 * idlemodes )
3345
+ static int omap_hwmod_init_idlemodes (struct device * dev ,
3346
+ const struct ti_sysc_module_data * data ,
3347
+ u32 * idlemodes )
3347
3348
{
3348
3349
* idlemodes = 0 ;
3349
3350
@@ -3434,11 +3435,12 @@ static int omap_hwmod_check_module(struct device *dev,
3434
3435
*
3435
3436
* Note that the allocations here cannot use devm as ti-sysc can rebind.
3436
3437
*/
3437
- int omap_hwmod_allocate_module (struct device * dev , struct omap_hwmod * oh ,
3438
- const struct ti_sysc_module_data * data ,
3439
- struct sysc_regbits * sysc_fields ,
3440
- s32 rev_offs , s32 sysc_offs , s32 syss_offs ,
3441
- u32 sysc_flags , u32 idlemodes )
3438
+ static int omap_hwmod_allocate_module (struct device * dev , struct omap_hwmod * oh ,
3439
+ const struct ti_sysc_module_data * data ,
3440
+ struct sysc_regbits * sysc_fields ,
3441
+ s32 rev_offs , s32 sysc_offs ,
3442
+ s32 syss_offs , u32 sysc_flags ,
3443
+ u32 idlemodes )
3442
3444
{
3443
3445
struct omap_hwmod_class_sysconfig * sysc ;
3444
3446
struct omap_hwmod_class * class ;
0 commit comments