Ignore:
Timestamp:
2008-06-26T01:05:50+02:00 (8 years ago)
Author:
blogic
Message:

cleanup ifxmips and add support for both ttyS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ifxmips/files/drivers/char/ifxmips_led.c

    r11396 r11578  
    148148                tmp->cdev.brightness_set = ifxmips_ledapi_set; 
    149149                tmp->cdev.name = kmalloc(sizeof("ifxmips:led:00"), GFP_KERNEL); 
    150                 sprintf(tmp->cdev.name, "ifxmips:led:%02d", i); 
     150                sprintf((char*)tmp->cdev.name, "ifxmips:led:%02d", i); 
    151151                tmp->cdev.default_trigger = NULL; 
    152152                tmp->bit = i; 
Note: See TracChangeset for help on using the changeset viewer.