[AGPGART] Fix modular agpgart ia64 allmodconfig
authorZwane Mwaikambo <zwane@infradead.org>
Fri, 16 Feb 2007 07:09:00 +0000 (23:09 -0800)
committerDave Jones <davej@redhat.com>
Tue, 20 Feb 2007 19:18:01 +0000 (14:18 -0500)
My previous compat AGP patch broke modular AGPGART.

Test built on;

i386 CONFIG_AGP=y,m
x86_64 CONFIG_AGP=y
ia64 CONFIG_AGP=m

Signed-off-by: Zwane Mwaikambo <zwane@infradead.org>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/char/agp/Makefile

index a0d04a2..627f542 100644 (file)
@@ -1,7 +1,8 @@
 agpgart-y := backend.o frontend.o generic.o isoch.o
 
+agpgart-$(CONFIG_COMPAT)       += compat_ioctl.o
+
 obj-$(CONFIG_AGP)              += agpgart.o
-obj-$(CONFIG_COMPAT)           += compat_ioctl.o
 obj-$(CONFIG_AGP_ALI)          += ali-agp.o
 obj-$(CONFIG_AGP_ATI)          += ati-agp.o
 obj-$(CONFIG_AGP_AMD)          += amd-k7-agp.o