.. | .. |
---|
940 | 940 | device_initialize(&ms7724se_ceu_devices[0]->dev); |
---|
941 | 941 | dma_declare_coherent_memory(&ms7724se_ceu_devices[0]->dev, |
---|
942 | 942 | ceu0_dma_membase, ceu0_dma_membase, |
---|
943 | | - ceu0_dma_membase + |
---|
944 | | - CEU_BUFFER_MEMORY_SIZE - 1); |
---|
| 943 | + CEU_BUFFER_MEMORY_SIZE); |
---|
945 | 944 | platform_device_add(ms7724se_ceu_devices[0]); |
---|
946 | 945 | |
---|
947 | 946 | device_initialize(&ms7724se_ceu_devices[1]->dev); |
---|
948 | 947 | dma_declare_coherent_memory(&ms7724se_ceu_devices[1]->dev, |
---|
949 | 948 | ceu1_dma_membase, ceu1_dma_membase, |
---|
950 | | - ceu1_dma_membase + |
---|
951 | | - CEU_BUFFER_MEMORY_SIZE - 1); |
---|
| 949 | + CEU_BUFFER_MEMORY_SIZE); |
---|
952 | 950 | platform_device_add(ms7724se_ceu_devices[1]); |
---|
953 | 951 | |
---|
954 | 952 | return platform_add_devices(ms7724se_devices, |
---|