can: c_can_pci: Set the type of the IP core
authorThomas Gleixner <tglx@linutronix.de>
Fri, 11 Apr 2014 08:13:10 +0000 (08:13 +0000)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 24 Apr 2014 20:08:55 +0000 (22:08 +0200)
commit129eef2184218f4603f406945552ff4e58b05cf1
treeacf54a81630f6462c45cb9ae4f696e1898f6ae92
parenta64d90fd962c2956da7505f98a302408450365e2
can: c_can_pci: Set the type of the IP core

All type checks in c_can.c are != BOSCH_D_CAN so nobody noticed so far
that the pci code does not update the type information.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/c_can/c_can_pci.c