Commit 08ee5245 authored by Dave Jones's avatar Dave Jones Committed by Dave Jones

[AGP] Export agp3 routines and link to module if needed.

parent 61567a39
...@@ -6,9 +6,9 @@ ...@@ -6,9 +6,9 @@
export-objs := backend.o export-objs := backend.o
agpgart-y := backend.o frontend.o generic.o agpgart-y := backend.o frontend.o generic.o
agpgart-$(CONFIG_AGP3) += generic-3.0.o
agpgart-objs := $(agpgart-y) agpgart-objs := $(agpgart-y)
obj-$(CONFIG_AGP) += agpgart.o obj-$(CONFIG_AGP) += agpgart.o
obj-$(CONFIG_AGP3) += generic-3.0.o
obj-$(CONFIG_AGP_INTEL) += intel-agp.o obj-$(CONFIG_AGP_INTEL) += intel-agp.o
obj-$(CONFIG_AGP_VIA) += via-agp.o obj-$(CONFIG_AGP_VIA) += via-agp.o
......
#include <linux/list.h> #include <linux/list.h>
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/agp_backend.h> #include <linux/agp_backend.h>
#include <linux/module.h>
#include "agp.h" #include "agp.h"
...@@ -549,3 +550,5 @@ int agp_generic_agp_3_0_enable(u32 mode) ...@@ -549,3 +550,5 @@ int agp_generic_agp_3_0_enable(u32 mode)
return FALSE; return FALSE;
} }
EXPORT_SYMBOL(agp_generic_agp_3_0_enable);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment