Skip to content
Commit 09971877 authored by Rishi Gupta's avatar Rishi Gupta Committed by Richard Weinberger
Browse files

ubi: Fix warning static is not at beginning of declaration



Compiler generates following warning when kernel is built with W=1:

drivers/mtd/ubi/ubi.h:971:1: warning: ‘static’ is not at beginning
of declaration [-Wold-style-declaration]

This commit fixes this by correctly ordering keywords.

Signed-off-by: default avatarRishi Gupta <gupt21@gmail.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 188945e9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment