]> Git Repo - linux.git/blob - drivers/platform/surface/aggregator/bus.h
wifi: cfg80211: Annotate struct cfg80211_scan_request with __counted_by
[linux.git] / drivers / platform / surface / aggregator / bus.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Surface System Aggregator Module bus and device integration.
4  *
5  * Copyright (C) 2019-2022 Maximilian Luz <[email protected]>
6  */
7
8 #ifndef _SURFACE_AGGREGATOR_BUS_H
9 #define _SURFACE_AGGREGATOR_BUS_H
10
11 #include <linux/surface_aggregator/controller.h>
12
13 #ifdef CONFIG_SURFACE_AGGREGATOR_BUS
14
15 int ssam_bus_register(void);
16 void ssam_bus_unregister(void);
17
18 #else /* CONFIG_SURFACE_AGGREGATOR_BUS */
19
20 static inline int ssam_bus_register(void) { return 0; }
21 static inline void ssam_bus_unregister(void) {}
22
23 #endif /* CONFIG_SURFACE_AGGREGATOR_BUS */
24 #endif /* _SURFACE_AGGREGATOR_BUS_H */
This page took 0.036743 seconds and 4 git commands to generate.