summaryrefslogtreecommitdiffstats
path: root/drivers/char/agp/intel-agp.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2007-02-06 01:09:35 +0100
committerDave Jones <davej@redhat.com>2007-02-11 01:56:36 +0100
commit1c14cfbbe7a9f2240c73f420c3c6336fc521cd64 (patch)
treeb58d41d52cc54880f969987202c14e705d0e53aa /drivers/char/agp/intel-agp.c
parent[AGPGART] intel-agp: Use ARRAY_SIZE macro when appropriate (diff)
downloadlinux-1c14cfbbe7a9f2240c73f420c3c6336fc521cd64.tar.xz
linux-1c14cfbbe7a9f2240c73f420c3c6336fc521cd64.zip
[AGPGART] allow drm populated agp memory types cleanups
Fix whitespace, braces, use kzalloc(). Cc: Dave Airlie <airlied@linux.ie> Cc: Thomas Hellstrom <thomas@tungstengraphics.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'drivers/char/agp/intel-agp.c')
-rw-r--r--drivers/char/agp/intel-agp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c
index 6b9fb2179264..06b0bb6d982f 100644
--- a/drivers/char/agp/intel-agp.c
+++ b/drivers/char/agp/intel-agp.c
@@ -89,7 +89,6 @@ static struct _intel_i810_private {
int num_dcache_entries;
} intel_i810_private;
-
static int intel_i810_fetch_size(void)
{
u32 smram_miscc;