summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Rapoport <mike.rapoport@gmail.com>2015-10-26 09:06:02 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-27 17:04:57 +0900
commit4fd92f51daa5748eebc2793b8da4af1bb4d37d23 (patch)
treed45d9e883ed5c1d6fe491dd545b1abff7e6293ea
parent700591a9adc8b1b8978283fd988fcb85aa1c8993 (diff)
downloadlinux-stable-4fd92f51daa5748eebc2793b8da4af1bb4d37d23.tar.gz
linux-stable-4fd92f51daa5748eebc2793b8da4af1bb4d37d23.tar.bz2
linux-stable-4fd92f51daa5748eebc2793b8da4af1bb4d37d23.zip
staging: sm750fb: use 'struct sm750_dev *' instead of 'void *'
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>
-rw-r--r--drivers/staging/sm750fb/sm750.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c
index 58fcea537698..ac8e2a460ce8 100644
--- a/drivers/staging/sm750fb/sm750.c
+++ b/drivers/staging/sm750fb/sm750.c
@@ -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;