]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/msmcan.c
Changed filling of the chip specific operations.
[lincan.git] / lincan / src / msmcan.c
index 573abaa67aa54b8abdcde7c433f4de2a548e6842..42513ad093b5aa148839f83de3f9dd01edd0ae21 100644 (file)
@@ -122,11 +122,10 @@ int msmcan_init_hw_data(struct candevice_t *candev)
  * argument supplied at module loading time.
  * The clock argument holds the chip clock value in Hz.
  */
-#define CHIP_TYPE "i82527"
 
 int msmcan_init_chip_data(struct candevice_t *candev, int chipnr)
 {
-       candev->chip[chipnr]->chip_type=CHIP_TYPE;
+       i82527_fill_chipspecops(candev->chip[chipnr]);
        /* device uses indexed access */
        candev->chip[chipnr]->chip_base_addr=
            candev->io_addr << 16;