generic: routerboot sysfs: move tag_show_string()
[openwrt/staging/luka.git] / target / linux / generic / files / drivers / platform / mikrotik / routerboot.h
index d2ca41fb1ba71ca32fdbe7359a10d73f38f5cb3f..e1ae972183e8a6a65555ad7e54010258ff32caa7 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Common definitions for MikroTik RouterBoot data.
  *
@@ -28,4 +28,6 @@ int routerboot_rle_decode(const u8 *in, size_t inlen, u8 *out, size_t *outlen);
 int __init rb_hardconfig_init(struct kobject *rb_kobj);
 void __exit rb_hardconfig_exit(void);
 
+ssize_t routerboot_tag_show_string(const u8 *pld, u16 pld_len, char *buf);
+
 #endif /* _ROUTERBOOT_H_ */