Commit 527b91bf authored by Andrey Filippov's avatar Andrey Filippov

Used @suppress() at few lines to test

parent bfe626e1
......@@ -202,7 +202,7 @@ ssize_t circbuf_get_ptr(int sensor_port, size_t offset, size_t len, struct fvec
return ret;
}
EXPORT_SYMBOL_GPL(circbuf_get_ptr);
EXPORT_SYMBOL_GPL(circbuf_get_ptr); // @suppress("Unused function declaration") it is still needed
/**
* @brief Process circular buffer file opening and define further action in accordance
......@@ -1025,7 +1025,7 @@ static struct platform_driver elphel393_circbuf = {
},
};
module_platform_driver(elphel393_circbuf);
module_platform_driver(elphel393_circbuf); // @suppress("Unused variable declaration in file scope") because
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Andrey Filippov <andrey@elphel.com>.");
......
......@@ -823,7 +823,7 @@ size_t exif_get_data(int sensor_port, unsigned short meta_index, void *buff, siz
memcpy(buff, &exif_tmp_buff[page_p], count);
return count;
}
EXPORT_SYMBOL_GPL(exif_get_data);
EXPORT_SYMBOL_GPL(exif_get_data); // @suppress("Unused function declaration") as it is still needed
//!++++++++++++++++++++++++++++++++++++ _init() ++++++++++++++++++++++++++++++++++++++++++++++++++++++
......@@ -875,8 +875,8 @@ static void __exit exif_exit(void)
dev_dbg(NULL, "unregistering driver");
}
module_exit(exif_exit);
module_init(exif_init);
module_exit(exif_exit); // @suppress("Unused variable declaration in file scope")
module_init(exif_init); // @suppress("Unused variable declaration in file scope")
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Andrey Filippov <andrey@elphel.com>.");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment