mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
Fix compile 4.4.0-104-generic
Ubuntu 16.04.3 LTS ddbridge-main.c:41:38: error: expected ‘;’ before ‘{’ token for_each_pci_msi_entry(entry, dev) { ddbridge-main.c:52:31: error: dereferencing pointer to incomplete type ‘struct msi_desc’ if (WARN_ON_ONCE(nr >= entry->nvec_used))
This commit is contained in:
parent
db463d0839
commit
b2b0105667
@ -8,4 +8,6 @@ obj-$(CONFIG_DVB_OCTONET) += octonet.o
|
||||
|
||||
EXTRA_CFLAGS += -Idrivers/media/dvb/frontends -Idrivers/media/dvb-frontends
|
||||
EXTRA_CFLAGS += -Idrivers/media/common/tuners
|
||||
NOSTDINC_FLAGS += -I$(SUBDIRS)/frontends -I$(SUBDIRS)/include -I$(SUBDIRS)/dvb-core
|
||||
NOSTDINC_FLAGS += -I$(SUBDIRS)/frontends -I$(SUBDIRS)/include -I$(SUBDIRS)/dvb-core
|
||||
EXTRA_CFLAGS += -Wno-error=implicit-function-declaration
|
||||
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include "ddbridge-io.h"
|
||||
|
||||
#ifdef CONFIG_PCI_MSI
|
||||
#include <linux/msi.h>
|
||||
static int msi = 1;
|
||||
module_param(msi, int, 0444);
|
||||
MODULE_PARM_DESC(msi,
|
||||
|
Loading…
Reference in New Issue
Block a user