|
@@ -172,7 +172,7 @@ static int ioat_dma_enumerate_channels(struct ioatdma_device *device)
|
|
xfercap_scale = readb(device->reg_base + IOAT_XFERCAP_OFFSET);
|
|
xfercap_scale = readb(device->reg_base + IOAT_XFERCAP_OFFSET);
|
|
xfercap = (xfercap_scale == 0 ? -1 : (1UL << xfercap_scale));
|
|
xfercap = (xfercap_scale == 0 ? -1 : (1UL << xfercap_scale));
|
|
|
|
|
|
-#if CONFIG_I7300_IDLE_IOAT_CHANNEL
|
|
|
|
|
|
+#ifdef CONFIG_I7300_IDLE_IOAT_CHANNEL
|
|
if (i7300_idle_platform_probe(NULL, NULL) == 0) {
|
|
if (i7300_idle_platform_probe(NULL, NULL) == 0) {
|
|
device->common.chancnt--;
|
|
device->common.chancnt--;
|
|
}
|
|
}
|