clk: bcm2835: reorganize bcm2835_clock_array assignment
authorMartin Sperl <kernel@martin.sperl.org>
Mon, 29 Feb 2016 12:51:42 +0000 (12:51 +0000)
committerEric Anholt <eric@anholt.net>
Thu, 17 Mar 2016 17:42:17 +0000 (10:42 -0700)
commit3b15afefbef9b5952e3d68ad73d93f981b9faca8
treef536b12cedcffdc4ee1e6b6e1d4935930575c59e
parent56eb3a2ed9726961e1bcfa69d4a3f86d68f0eb52
clk: bcm2835: reorganize bcm2835_clock_array assignment

Reorganize bcm2835_clock_array so that there is no more
need for separate bcm2835_*_data structures to be defined.
Instead the required structures are generated inline via
helper macros.

To allow this to also work for pll alone it was required that
the parent_pll was changed from a pointer to bcm2835_pll_data
to the name of the pll instead.

Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
drivers/clk/bcm/clk-bcm2835.c
This page took 0.025063 seconds and 5 git commands to generate.