]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: edma: Remove redundant/unused parameters from edma_soc_info
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 16 May 2014 12:17:20 +0000 (15:17 +0300)
committerSekhar Nori <nsekhar@ti.com>
Thu, 22 May 2014 09:25:25 +0000 (14:55 +0530)
The following parameters are no longer needed by the edma driver since the
information can be obtained from the IP's CCCFG register:
n_channel, n_region, n_slot and n_tc.
Remove the n_cc as well since in this context it has no meaning. We have
separate edma_soc_info struct/eDMA3_CC instance so this member does not
make any sense (and the driver no longer uses it).

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
include/linux/platform_data/edma.h

index 633e196ebdf2e53084d42e0e3e7e011ac49264b0..eb8d5627d080dd5b90c4a1d6ea18faaba7233285 100644 (file)
@@ -158,13 +158,6 @@ struct edma_rsv_info {
 
 /* platform_data for EDMA driver */
 struct edma_soc_info {
-
-       /* how many dma resources of each type */
-       unsigned        n_channel;
-       unsigned        n_region;
-       unsigned        n_slot;
-       unsigned        n_tc;
-       unsigned        n_cc;
        /*
         * Default queue is expected to be a low-priority queue.
         * This way, long transfers on the default queue started