Source
1050
1050
controller->iclk = iclk;
1051
1051
controller->cclk = cclk;
1052
1052
controller->irq = irq;
1053
1053
1054
1054
ret = spi_qup_init_dma(master, res->start);
1055
1055
if (ret == -EPROBE_DEFER)
1056
1056
goto error;
1057
1057
else if (!ret)
1058
1058
master->can_dma = spi_qup_can_dma;
1059
1059
1060
-
controller->qup_v1 = (int)of_device_get_match_data(dev);
1060
+
controller->qup_v1 = (uintptr_t)of_device_get_match_data(dev);
1061
1061
1062
1062
if (!controller->qup_v1)
1063
1063
master->set_cs = spi_qup_set_cs;
1064
1064
1065
1065
spin_lock_init(&controller->lock);
1066
1066
init_completion(&controller->done);
1067
1067
1068
1068
iomode = readl_relaxed(base + QUP_IO_M_MODES);
1069
1069
1070
1070
size = QUP_IO_M_OUTPUT_BLOCK_SIZE(iomode);