summaryrefslogtreecommitdiffstats
path: root/drivers/video/nvidia/nv_proto.h
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2006-01-10 05:53:40 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-10 17:01:51 +0100
commit918799ab6f278805d4811770e9b18ae36408c17f (patch)
treef1700579a541c5d99467b965099e3238691ce4d5 /drivers/video/nvidia/nv_proto.h
parent[PATCH] nvidiafb: Add boot option 'bpp' (diff)
downloadlinux-918799ab6f278805d4811770e9b18ae36408c17f.tar.xz
linux-918799ab6f278805d4811770e9b18ae36408c17f.zip
[PATCH] nvidiafb: Reduce stack usage
Reduce stack usage of NVCommonSetup() Signed-off-by: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/nvidia/nv_proto.h')
-rw-r--r--drivers/video/nvidia/nv_proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/nvidia/nv_proto.h b/drivers/video/nvidia/nv_proto.h
index 3353103e8b0b..b149a690ee0f 100644
--- a/drivers/video/nvidia/nv_proto.h
+++ b/drivers/video/nvidia/nv_proto.h
@@ -4,7 +4,7 @@
#define __NV_PROTO_H__
/* in nv_setup.c */
-void NVCommonSetup(struct fb_info *info);
+int NVCommonSetup(struct fb_info *info);
void NVWriteCrtc(struct nvidia_par *par, u8 index, u8 value);
u8 NVReadCrtc(struct nvidia_par *par, u8 index);
void NVWriteGr(struct nvidia_par *par, u8 index, u8 value);