return 0;
}
-#define CHIP_TYPE "unican"
-
/**
* unican_init_chip_data - Initialize chips
* @candev: Pointer to candevice/board structure
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;