X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/a4c9ead4b64bd4de307f375c2ff313a7a07a06e0..2a4663dd0b20d96d1ffe20993dd0c63ed2ca9f20:/lincan/src/unican.c diff --git a/lincan/src/unican.c b/lincan/src/unican.c index fde7c00..f2c7ec6 100644 --- a/lincan/src/unican.c +++ b/lincan/src/unican.c @@ -759,8 +759,6 @@ int unican_init_hw_data(struct candevice_t *candev) return 0; } -#define CHIP_TYPE "unican" - /** * unican_init_chip_data - Initialize chips * @candev: Pointer to candevice/board structure @@ -772,7 +770,7 @@ int unican_init_hw_data(struct candevice_t *candev) int unican_init_chip_data(struct candevice_t *candev, int chipnr) { struct chip_t *chip = candev->chip[chipnr]; - chip->chip_type = CHIP_TYPE; + chip->chip_type = "unican"; chip->chip_base_addr = 0; chip->clock = 10000000; chip->int_clk_reg = 0x0;