forked from Minki/linux
staging: kpc2000: remove invalid spaces in cell_probe.c
Fixes checkpatch.pl error "space prohibited before/after that parenthesis". Signed-off-by: Simon Sandström <simon@nikanor.nu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c2f894bc14
commit
dcb76ad1f4
@ -388,7 +388,7 @@ static int kp2000_setup_dma_controller(struct kp2000_device *pcard)
|
||||
|
||||
// S2C Engines
|
||||
for (i = 0 ; i < 32 ; i++) {
|
||||
capabilities_reg = readq( pcard->dma_bar_base + KPC_DMA_S2C_BASE_OFFSET + (KPC_DMA_ENGINE_SIZE * i) );
|
||||
capabilities_reg = readq(pcard->dma_bar_base + KPC_DMA_S2C_BASE_OFFSET + (KPC_DMA_ENGINE_SIZE * i));
|
||||
if (capabilities_reg & ENGINE_CAP_PRESENT_MASK) {
|
||||
err = create_dma_engine_core(pcard, (KPC_DMA_S2C_BASE_OFFSET + (KPC_DMA_ENGINE_SIZE * i)), i, pcard->pdev->irq);
|
||||
if (err)
|
||||
@ -397,7 +397,7 @@ static int kp2000_setup_dma_controller(struct kp2000_device *pcard)
|
||||
}
|
||||
// C2S Engines
|
||||
for (i = 0 ; i < 32 ; i++) {
|
||||
capabilities_reg = readq( pcard->dma_bar_base + KPC_DMA_C2S_BASE_OFFSET + (KPC_DMA_ENGINE_SIZE * i) );
|
||||
capabilities_reg = readq(pcard->dma_bar_base + KPC_DMA_C2S_BASE_OFFSET + (KPC_DMA_ENGINE_SIZE * i));
|
||||
if (capabilities_reg & ENGINE_CAP_PRESENT_MASK) {
|
||||
err = create_dma_engine_core(pcard, (KPC_DMA_C2S_BASE_OFFSET + (KPC_DMA_ENGINE_SIZE * i)), 32 + i, pcard->pdev->irq);
|
||||
if (err)
|
||||
|
Loading…
Reference in New Issue
Block a user