2.4.36-stable kernel tree
リビジョン | e1ae084aef9fec3dfd47e32af94acfc9a4f04051 (tree) |
---|---|
日時 | 2007-02-25 16:16:39 |
作者 | Andrzej Stypula <andrzej@alta...> |
コミッター | Willy Tarreau |
[PATCH] fix build of serial with DEBUG enabled
This patch corrects define statement and variable name. Without this
patch is impossible to compile the serial driver with debug information.
This is probably copy/paste mistake from 2.2 or whatever.
@@ -935,7 +935,7 @@ static void rs_interrupt_single(int irq, void *dev_id, struct pt_regs * regs) | ||
935 | 935 | transmit_chars(info, 0); |
936 | 936 | #endif |
937 | 937 | if (pass_counter++ > RS_ISR_PASS_LIMIT) { |
938 | -#if SERIAL_DEBUG_INTR | |
938 | +#ifdef SERIAL_DEBUG_INTR | |
939 | 939 | printk("rs_single loop break.\n"); |
940 | 940 | #endif |
941 | 941 | break; |
@@ -4214,7 +4214,7 @@ pci_inteli960ni_fn(struct pci_dev *dev, | ||
4214 | 4214 | |
4215 | 4215 | #ifdef SERIAL_DEBUG_PCI |
4216 | 4216 | printk(KERN_DEBUG " Subsystem ID %lx (intel 960)\n", |
4217 | - (unsigned long) board->subdevice); | |
4217 | + (unsigned long) dev->subsystem_device); | |
4218 | 4218 | #endif |
4219 | 4219 | /* is firmware started? */ |
4220 | 4220 | pci_read_config_dword(dev, 0x44, (void*) &oldval); |