]> rtime.felk.cvut.cz Git - socketcan-devel.git/commitdiff
plx_pci: fix white space issue with KERNEL_VERSION to get strip-src working
authorwolf <wolf@030b6a49-0b11-0410-94ab-b0dab22257f2>
Fri, 5 Mar 2010 09:16:56 +0000 (09:16 +0000)
committerwolf <wolf@030b6a49-0b11-0410-94ab-b0dab22257f2>
Fri, 5 Mar 2010 09:16:56 +0000 (09:16 +0000)
Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
git-svn-id: svn://svn.berlios.de//socketcan/trunk@1154 030b6a49-0b11-0410-94ab-b0dab22257f2

kernel/2.6/drivers/net/can/sja1000/plx_pci.c

index b8169440801361f7cf1b3974255f6603c80c1397..b243276e397a86f2cb4ab64a5d3ca4fe38fc3eda 100644 (file)
@@ -28,7 +28,7 @@
 #include <linux/pci.h>
 #include <socketcan/can.h>
 #include <socketcan/can/dev.h>
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 16)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16)
 #include <linux/io.h>
 #else
 #include <asm/io.h>
@@ -384,7 +384,7 @@ static int __devinit plx_pci_add_card(struct pci_dev *pdev,
                card->net_dev[i] = dev;
                priv = netdev_priv(dev);
                priv->priv = card;
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 18)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
                priv->irq_flags = SA_SHIRQ;
 #else
                priv->irq_flags = IRQF_SHARED;