From: Sascha Wildner Date: Tue, 22 Jan 2013 19:19:38 +0000 (+0100) Subject: kernel/amr: Extend the visibility of AMR_DEBUG. X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/0f5a30b617d28cd4c253a1e3bd9c2daa215eaa8d kernel/amr: Extend the visibility of AMR_DEBUG. Half the code was missing the setting of AMR_DEBUG in the config file because its visibility was reduced to amr.c only. Reported-by: tuxillo --- diff --git a/sys/dev/raid/amr/amr.c b/sys/dev/raid/amr/amr.c index 7781158cbf..1a2ce3109e 100644 --- a/sys/dev/raid/amr/amr.c +++ b/sys/dev/raid/amr/amr.c @@ -61,8 +61,6 @@ * Driver for the AMI MegaRaid family of controllers. */ -#include "opt_amr.h" - #include #include #include diff --git a/sys/dev/raid/amr/amrvar.h b/sys/dev/raid/amr/amrvar.h index eee6069404..7062eeff92 100644 --- a/sys/dev/raid/amr/amrvar.h +++ b/sys/dev/raid/amr/amrvar.h @@ -56,6 +56,8 @@ * $FreeBSD: src/sys/dev/amr/amrvar.h,v 1.39 2012/08/31 09:42:46 scottl Exp $ */ +#include "opt_amr.h" + #include #include #include