2.6.36-rc2 build failure: implicit declaration of function 'seq_printf'
From: Sven Joachim
Date: Mon Aug 23 2010 - 04:06:57 EST
Commit 6ef3d4278034982c13df87c4a51e0445f762d316 causes a build failure
for me:
,----
| CC [M] drivers/gpu/drm/i915/intel_overlay.o
| drivers/gpu/drm/i915/intel_overlay.c: In function 'intel_overlay_print_error_state':
| drivers/gpu/drm/i915/intel_overlay.c:1467: error: implicit declaration of function 'seq_printf'
| make[4]: *** [drivers/gpu/drm/i915/intel_overlay.o] Error 1
`----
Adding a line with
#include <linux/seq_file.h>
to intel_overlay.c fixes this. Looking at include/drm/*.h, I notice
that <linux/seq_file.h> is only #included if CONFIG_DEBUG_FS is set,
which is not the case in my configuration.
Sven
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/