projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17299dc
)
took out line that belonged in init.h, added include for definition of pci_alloc_cons...
author
Frank Mori Hess
<fmhess@speakeasy.net>
Wed, 19 Sep 2001 19:25:49 +0000
(19:25 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Wed, 19 Sep 2001 19:25:49 +0000
(19:25 +0000)
used by older kernels
include/linux/pci.h
patch
|
blob
|
history
diff --git
a/include/linux/pci.h
b/include/linux/pci.h
index f685854adc8d58679da965a2bdcca59d455d6fb1..095d1166ae28b926a2295f255414a848606de1ea 100644
(file)
--- a/
include/linux/pci.h
+++ b/
include/linux/pci.h
@@
-23,7
+23,6
@@
#define pci_enable_device(x) 0
#define PCI_ANY_ID (~0)
-#define __devinitdata __initdata
struct pci_device_id {
unsigned int vendor, device;
@@
-34,6
+33,7
@@
struct pci_device_id {
// stuff for allocating pci dma buffers
#include <asm/io.h>
+#include <linux/malloc.h>
#define PCI_DMA_FROMDEVICE 0
#define PCI_DMA_TODEVICE 0
static inline void *pci_alloc_consistent(struct pci_dev *hwdev, size_t size,