Module Name: src
Committed By: riastradh
Date: Tue Dec 17 22:05:11 UTC 2024
Modified Files:
src/sys/dev/acpi: qcomgpioreg.h
Log Message:
qcomgpioreg.h: Add missing sys/cdefs.h for __BIT/__BITS.
No functional change intended, other than to make potential users
build when they previously wouldn't.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/acpi/qcomgpioreg.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/acpi/qcomgpioreg.h
diff -u src/sys/dev/acpi/qcomgpioreg.h:1.2 src/sys/dev/acpi/qcomgpioreg.h:1.3
--- src/sys/dev/acpi/qcomgpioreg.h:1.2 Mon Dec 9 22:10:25 2024
+++ src/sys/dev/acpi/qcomgpioreg.h Tue Dec 17 22:05:11 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: qcomgpioreg.h,v 1.2 2024/12/09 22:10:25 jmcneill Exp $ */
+/* $NetBSD: qcomgpioreg.h,v 1.3 2024/12/17 22:05:11 riastradh Exp $ */
/*
* Copyright (c) 2022 Mark Kettenis <[email protected]>
*
@@ -18,6 +18,8 @@
#ifndef QCOMGPIOREG_H
#define QCOMGPIOREG_H
+#include <sys/cdefs.h>
+
#define _TLMM_GPIO_PIN_OFFSET(pin, reg) ((pin) * 0x1000 + (reg))
#define TLMM_GPIO_CTL(pin) _TLMM_GPIO_PIN_OFFSET(pin, 0x0)