staging: sm750fb: use 'struct sm750_dev *' instead of 'void *'
authorMike Rapoport <mike.rapoport@gmail.com>
Mon, 26 Oct 2015 07:06:02 +0000 (09:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Oct 2015 08:04:57 +0000 (17:04 +0900)
Use proper 'struct sm750_dev *' type instead of 'void *'

Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/sm750.c

index 58fcea537698094e9f8bd743557ec586cca61127..ac8e2a460ce86667f69d1cbea8fbddf027c61bf0 100644 (file)
@@ -1178,7 +1178,7 @@ static void lynxfb_pci_remove(struct pci_dev *pdev)
 {
        struct fb_info *info;
        struct lynx_share *share;
-       void *sm750_dev;
+       struct sm750_dev *sm750_dev;
        struct lynxfb_par *par;
        int cnt;