diff --git a/drivers/char/hvc_console.c b/drivers/char/hvc_console.c
index 0f9d356d3bd9c4b3841253eb18fc63909b20246b..31980994feadee917603b02ed9b5ae7e59a8feaa 100644
--- a/drivers/char/hvc_console.c
+++ b/drivers/char/hvc_console.c
@@ -22,6 +22,7 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
+#include <linux/config.h>
 #include <linux/console.h>
 #include <linux/cpumask.h>
 #include <linux/init.h>