Compilation fix for latest DVB updates (was Re: x86_64 build failure)

From: Michael Hunold
Date: Mon Feb 23 2004 - 18:16:40 EST


On 02/23/04 23:37, Andrew Morton wrote:

drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c:32:28: dvb_usb_compat.h: No such file or directory

Rats. My latest test kernel configuration had USB disabled for some unknown reason, so the dvb-ttusb-budget and dvb-ttusb-dec drivers were not compiled at all.

I attached a quick fix: simply remove the offending line of code, it's from our 2.4 USB compatibility layer.

I CCed LKML so others get to know this patch, too.

CU
Michael.
diff -ura linux-2.6.3/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c linux-2.6.3-hf/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c
--- linux-2.6.3/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c 2004-02-24 00:06:29.000000000 +0100
+++ linux-2.6.3-hf/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c 2004-02-24 00:07:26.000000000 +0100
@@ -29,7 +29,6 @@
#include <linux/dvb/dmx.h>
#include <linux/pci.h>

-#include "dvb_usb_compat.h"
#include "dvb_functions.h"

/*