xref: /linux/net/batman-adv/version.c (revision 78c1930198fc63f2d4761848cbe148c5b2958b01)
1 // SPDX-License-Identifier: GPL-2.0
2 
3 #include <generated/utsrelease.h>
4 #include <linux/module.h>
5 
6 /* WARNING userspace tools like batctl were relying on
7  * /sys/module/batman_adv/version to check if the module was loaded. If it
8  * isn't present, they usually error out before finishing setup of the batadv
9  * interface. It should be kept until it is unlikely that there are active
10  * installations of these "broken" versions of these tools with recent kernels.
11  */
12 MODULE_VERSION(UTS_RELEASE);
13