Kernel Bug Tracker – Bug 25442
ixp4xx defines FREQ macro; conflicts with gspca/ov519 driver
Last modified: 2011-02-12 23:10:43 UTC
Created attachment 41252 [details]
patch to rename FREQ macro
When building for the ARM IXP4xx platform, <linux/timex.h> ends up including
arch/arm/mach-ixp4xx/include/mach/timex.h which defines the macro FREQ. This conflicts with use of FREQ as an enumerator in drivers/media/video/gspca/ov519.c.
Since the macro is platform-specific, its name really ought to be given a suitable prefix to avoid such conflicts.
Previously reported with patch at
Please don't send patches via bugzilla - it causes lots of problems with
our usual patch management and review processes.
Please send this patch via email as per Documentation/SubmittingPatches.
Suitable recipients may be found via scripts/get_maintainer.pl. Please
also cc myself on the email.
(In reply to comment #1)
> Please don't send patches via bugzilla - it causes lots of problems with
> our usual patch management and review processes.
As I said, the patch was already sent by mail; I'm just repeating it here.
Patch : https://bugzilla.kernel.org/attachment.cgi?id=41252
Handled-By : Ben Hutchings <email@example.com>
Fixed by commit e66a022a80d73b1a5d2e02c9db2c42e8b9853b40 .