diff options
author | Michael Tretter <m.tretter@pengutronix.de> | 2019-09-05 11:06:06 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-09-06 09:14:59 +0200 |
commit | 971307cf0132d02b3d361117c2b1f90893404eab (patch) | |
tree | 9127ef5a2643bd477a13000cb94e2ddacb2427e3 /arch/arm/mach-socfpga/include/mach | |
parent | e1f8820efbd13bf21becde89c1935c77f8bd3484 (diff) | |
download | barebox-971307cf0132d02b3d361117c2b1f90893404eab.tar.gz barebox-971307cf0132d02b3d361117c2b1f90893404eab.tar.xz |
clk: zynqmp: rename driver specific CLK_MUX_READ_ONLY
Since commit c7cc27d006cc (clk: mux: Support CLK_MUX_READ_ONLY flag)
Barebox defines the CLK_MUX_READ_ONLY flag like Linux.
The ZynqMP clock driver used the flag before, because this flag is used
to convey this information from the PMU firmware to the Linux driver.
However, the flags of the common clock framework and the flag of the
protocol between PMU firmware and the ZynqMP clock driver should be
handled separately.
Therefore, add a driver specific prefix to the flag definition in the
ZynqMP driver.
Fixes the warning
drivers/clk/zynqmp/clk-mux-zynqmp.c:18:0: warning: "CLK_MUX_READ_ONLY" redefined
In file included from drivers/clk/zynqmp/clk-mux-zynqmp.c:13:0:
include/linux/clk.h:350:0: note: this is the location of the previous definition
Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-socfpga/include/mach')
0 files changed, 0 insertions, 0 deletions