Commit fdf63fc4 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] AGP warning fix

agp_setup() is unreferenced if it's a module.
parent 227ed0b8
......@@ -318,6 +318,7 @@ void __exit agp_exit(void)
{
}
#ifdef MODULE
static __init int agp_setup(char *s)
{
if (!strcmp(s,"off"))
......@@ -327,6 +328,7 @@ static __init int agp_setup(char *s)
return 1;
}
__setup("agp=", agp_setup);
#endif
MODULE_AUTHOR("Dave Jones <davej@codemonkey.org.uk>");
MODULE_DESCRIPTION("AGP GART driver");
......
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