[PATCH 7/8] firmware: correct function declarations