summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2026-04-17 11:32:01 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2026-04-17 11:32:01 -0700
commite0dcd2b2a00bf86073264751897b949dd9c02258 (patch)
tree37dfad6568031e8fda5989c8e751446da4822113 /include/linux
parentd97e7d7c304f87419921f740743f7baa99f40539 (diff)
parentdf5ead915b19a6c1fa25f44419f28e1228677b02 (diff)
Merge tag 'hsi-for-7.1' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi
Pull HSI updates from Sebastian Reichel: - use flexible array member for hsi_port in hsi_controller - misc small fixes * tag 'hsi-for-7.1' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi: HSI: omap_ssi_port: remove depends on ARM HSI: omap_ssi_port: remove set but unused variables HSI: cmt_speech: fix wrong printf format HSI: omap_ssi_port: remove null check from FAM hsi: hsi_core: use kzalloc_flex
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/hsi/hsi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/hsi/hsi.h b/include/linux/hsi/hsi.h
index 6ca92bff02c6..ea6bef9b6012 100644
--- a/include/linux/hsi/hsi.h
+++ b/include/linux/hsi/hsi.h
@@ -271,7 +271,7 @@ struct hsi_controller {
struct module *owner;
unsigned int id;
unsigned int num_ports;
- struct hsi_port **port;
+ struct hsi_port *port[] __counted_by(num_ports);
};
#define to_hsi_controller(dev) container_of(dev, struct hsi_controller, device)