summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/clock/bcm2835.h
diff options
context:
space:
mode:
authorMartin Sperl2016-02-29 13:51:41 +0100
committerEric Anholt2016-03-17 18:42:17 +0100
commit56eb3a2ed9726961e1bcfa69d4a3f86d68f0eb52 (patch)
treebc2f1c6d29d6662bef294d385ec1a4edee534e15 /include/dt-bindings/clock/bcm2835.h
parentclk: bcm2835: expose raw clock-registers via debugfs (diff)
downloadkernel-qcow2-linux-56eb3a2ed9726961e1bcfa69d4a3f86d68f0eb52.tar.gz
kernel-qcow2-linux-56eb3a2ed9726961e1bcfa69d4a3f86d68f0eb52.tar.xz
kernel-qcow2-linux-56eb3a2ed9726961e1bcfa69d4a3f86d68f0eb52.zip
clk: bcm2835: remove use of BCM2835_CLOCK_COUNT in driver
As the use of BCM2835_CLOCK_COUNT in include/dt-bindings/clock/bcm2835.h is frowned upon as it needs to get modified every time a new clock gets introduced this patch changes the clk-bcm2835 driver to use a different scheme for registration of clocks and pll, so that there is no more need for BCM2835_CLOCK_COUNT to be defined. Signed-off-by: Martin Sperl <kernel@martin.sperl.org> Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'include/dt-bindings/clock/bcm2835.h')
-rw-r--r--include/dt-bindings/clock/bcm2835.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/dt-bindings/clock/bcm2835.h b/include/dt-bindings/clock/bcm2835.h
index 61f1d20c2a67..87235ac76ef1 100644
--- a/include/dt-bindings/clock/bcm2835.h
+++ b/include/dt-bindings/clock/bcm2835.h
@@ -44,5 +44,3 @@
#define BCM2835_CLOCK_EMMC 28
#define BCM2835_CLOCK_PERI_IMAGE 29
#define BCM2835_CLOCK_PWM 30
-
-#define BCM2835_CLOCK_COUNT 31