lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230915-ep93xx-v4-2-a1d779dcec10@maquefel.me>
Date:   Fri, 15 Sep 2023 11:10:44 +0300
From:   Nikita Shubin via B4 Relay 
        <devnull+nikita.shubin.maquefel.me@...nel.org>
To:     Nikita Shubin <nikita.shubin@...uefel.me>,
        Linus Walleij <linus.walleij@...aro.org>,
        Thierry Reding <thierry.reding@...il.com>,
        Uwe Kleine-König <u.kleine-koenig@...gutronix.de>,
        Sergey Shtylyov <s.shtylyov@....ru>
Cc:     Dmitry Torokhov <dmitry.torokhov@...il.com>,
        Damien Le Moal <dlemoal@...nel.org>,
        Alexander Sverdlin <alexander.sverdlin@...il.com>,
        linux-kernel@...r.kernel.org, Arnd Bergmann <arnd@...db.de>,
        Alexander Sverdlin <alexander.sverdlin@...il.com>
Subject: [PATCH v4 02/42] ARM: ep93xx: add swlocked prototypes

From: Nikita Shubin <nikita.shubin@...uefel.me>

Add ep93xx_regmap_write and ep93xx_regmap_update_bits to make drivers
compilable before actual implementation is added.

Signed-off-by: Nikita Shubin <nikita.shubin@...uefel.me>
---
 include/linux/soc/cirrus/ep93xx.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/linux/soc/cirrus/ep93xx.h b/include/linux/soc/cirrus/ep93xx.h
index 56fbe2dc59b1..8b4b8221ed4c 100644
--- a/include/linux/soc/cirrus/ep93xx.h
+++ b/include/linux/soc/cirrus/ep93xx.h
@@ -3,6 +3,7 @@
 #define _SOC_EP93XX_H
 
 struct platform_device;
+struct regmap;
 
 #define EP93XX_CHIP_REV_D0	3
 #define EP93XX_CHIP_REV_D1	4
@@ -34,4 +35,9 @@ static inline unsigned int ep93xx_chip_revision(void) { return 0; }
 
 #endif
 
+static inline void ep93xx_regmap_write(struct regmap *map, unsigned int reg, unsigned int val) {}
+static inline void ep93xx_regmap_update_bits(struct regmap *map, unsigned int reg,
+					     unsigned int mask, unsigned int val)
+{ }
+
 #endif

-- 
2.39.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ