Revision 9596ebb7 hw/omap.c

b/hw/omap.c
3041 3041
    omap_badwidth_write16,
3042 3042
};
3043 3043

  
3044
void omap_mpuio_reset(struct omap_mpuio_s *s)
3044
static void omap_mpuio_reset(struct omap_mpuio_s *s)
3045 3045
{
3046 3046
    s->inputs = 0;
3047 3047
    s->outputs = 0;
......
3257 3257
    omap_badwidth_write16,
3258 3258
};
3259 3259

  
3260
void omap_gpio_reset(struct omap_gpio_s *s)
3260
static void omap_gpio_reset(struct omap_gpio_s *s)
3261 3261
{
3262 3262
    s->inputs = 0;
3263 3263
    s->outputs = ~0;
......
3429 3429
    omap_badwidth_write16,
3430 3430
};
3431 3431

  
3432
void omap_uwire_reset(struct omap_uwire_s *s)
3432
static void omap_uwire_reset(struct omap_uwire_s *s)
3433 3433
{
3434 3434
    s->control = 0;
3435 3435
    s->setup[0] = 0;
......
3470 3470
}
3471 3471

  
3472 3472
/* Pseudonoise Pulse-Width Light Modulator */
3473
void omap_pwl_update(struct omap_mpu_state_s *s)
3473
static void omap_pwl_update(struct omap_mpu_state_s *s)
3474 3474
{
3475 3475
    int output = (s->pwl.clk && s->pwl.enable) ? s->pwl.level : 0;
3476 3476

  
......
3528 3528
    omap_badwidth_write8,
3529 3529
};
3530 3530

  
3531
void omap_pwl_reset(struct omap_mpu_state_s *s)
3531
static void omap_pwl_reset(struct omap_mpu_state_s *s)
3532 3532
{
3533 3533
    s->pwl.output = 0;
3534 3534
    s->pwl.level = 0;
......
3632 3632
    omap_badwidth_write8,
3633 3633
};
3634 3634

  
3635
void omap_pwt_reset(struct omap_mpu_state_s *s)
3635
static void omap_pwt_reset(struct omap_mpu_state_s *s)
3636 3636
{
3637 3637
    s->pwt.frc = 0;
3638 3638
    s->pwt.vrc = 0;
......
4037 4037
    qemu_mod_timer(s->clk, s->tick);
4038 4038
}
4039 4039

  
4040
void omap_rtc_reset(struct omap_rtc_s *s)
4040
static void omap_rtc_reset(struct omap_rtc_s *s)
4041 4041
{
4042 4042
    s->interrupts = 0;
4043 4043
    s->comp_reg = 0;
......
4509 4509
    return s;
4510 4510
}
4511 4511

  
4512
void omap_mcbsp_i2s_swallow(void *opaque, int line, int level)
4512
static void omap_mcbsp_i2s_swallow(void *opaque, int line, int level)
4513 4513
{
4514 4514
    struct omap_mcbsp_s *s = (struct omap_mcbsp_s *) opaque;
4515 4515

  
4516 4516
    omap_mcbsp_rx_start(s);
4517 4517
}
4518 4518

  
4519
void omap_mcbsp_i2s_start(void *opaque, int line, int level)
4519
static void omap_mcbsp_i2s_start(void *opaque, int line, int level)
4520 4520
{
4521 4521
    struct omap_mcbsp_s *s = (struct omap_mcbsp_s *) opaque;
4522 4522

  

Also available in: Unified diff