Commit dabb5928 authored by Andrew Morton's avatar Andrew Morton Committed by Greg Kroah-Hartman

[PATCH] USB: sisusb warning fix

drivers/usb/misc/sisusbvga/sisusb.c: In function `sisusb_reset_text_mode':
drivers/usb/misc/sisusbvga/sisusb.c:2461: warning: assignment discards qualifiers from pointer target type
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>

 drivers/usb/misc/sisusbvga/sisusb.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
parent 8b262bd2
...@@ -2440,7 +2440,7 @@ int ...@@ -2440,7 +2440,7 @@ int
sisusb_reset_text_mode(struct sisusb_usb_data *sisusb, int init) sisusb_reset_text_mode(struct sisusb_usb_data *sisusb, int init)
{ {
int ret = 0, slot = sisusb->font_slot, i; int ret = 0, slot = sisusb->font_slot, i;
struct font_desc *myfont; const struct font_desc *myfont;
u8 *tempbuf; u8 *tempbuf;
u16 *tempbufb; u16 *tempbufb;
size_t written; size_t written;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment