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