mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
[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: 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(-)
This commit is contained in:
parent
8b262bd255
commit
dabb592816
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue