Re: [PATCH 2/2] phy: qcom-mipi-csi2: Add a CSI2 MIPI D-PHY driver

From: Neil Armstrong
Date: Tue Aug 12 2025 - 12:10:16 EST


On 12/08/2025 17:05, Bryan O'Donoghue wrote:
On 12/08/2025 14:39, neil.armstrong@xxxxxxxxxx wrote:
+    .clk_freq = {
+        zero,

It seems clang doesn't like this at all:
drivers/phy/qualcomm/phy-qcom-mipi-csi2-3ph-dphy.c:486:3: error: initializer element is not a compile-time constant
                 zero,
                 ^~~~
1 error generated.

Weirdly I compile with clang..

The tuxmake log is available at https://storage.tuxsuite.com/public/linaro/neil.armstrong/builds/31Boss31K6meeYAxqhJUZo8yhwK/build.log

It uses clang-16

Neil


thx though

---
bod