summaryrefslogtreecommitdiffstats
path: root/drivers/staging/xgifb/XGIfb.h
diff options
context:
space:
mode:
authorAaro Koskinen2011-10-11 20:47:20 +0200
committerGreg Kroah-Hartman2011-10-12 17:51:45 +0200
commitfcbdda90ef9bedd521c56f0c7529013f03c139e0 (patch)
tree2caa69c947631b89478fbfae15e384518ce87094 /drivers/staging/xgifb/XGIfb.h
parentstaging: xgifb: avoid direct references xgi_video_info (diff)
downloadkernel-qcow2-linux-fcbdda90ef9bedd521c56f0c7529013f03c139e0.tar.gz
kernel-qcow2-linux-fcbdda90ef9bedd521c56f0c7529013f03c139e0.tar.xz
kernel-qcow2-linux-fcbdda90ef9bedd521c56f0c7529013f03c139e0.zip
staging: xgifb: dynamically allocate xgifb_video_info
Delete global xgi_video_info and dynamically allocate the data. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/xgifb/XGIfb.h')
-rw-r--r--drivers/staging/xgifb/XGIfb.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/xgifb/XGIfb.h b/drivers/staging/xgifb/XGIfb.h
index 0beda4268848..691129621089 100644
--- a/drivers/staging/xgifb/XGIfb.h
+++ b/drivers/staging/xgifb/XGIfb.h
@@ -101,7 +101,4 @@ struct xgifb_video_info {
char reserved[236];
};
-
-extern struct xgifb_video_info xgi_video_info;
-
#endif