[PATCH] USB: sisusb warning fix
authorAndrew Morton <akpm@osdl.org>
Fri, 23 Sep 2005 06:55:22 +0000 (23:55 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 28 Oct 2005 23:47:41 +0000 (16:47 -0700)
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: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
 drivers/usb/misc/sisusbvga/sisusb.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

drivers/usb/misc/sisusbvga/sisusb.c

index 222ae9cd4c7cc4541e81988bce4955e1cf023638..c946c9a538a0602d3255ac66f3402a1428886138 100644 (file)
@@ -2440,7 +2440,7 @@ int
 sisusb_reset_text_mode(struct sisusb_usb_data *sisusb, int init)
 {
        int ret = 0, slot = sisusb->font_slot, i;
-       struct font_desc *myfont;
+       const struct font_desc *myfont;
        u8 *tempbuf;
        u16 *tempbufb;
        size_t written;