Skip to content
Commit 6387f65e authored by Jakub Kicinski's avatar Jakub Kicinski Committed by David S. Miller
Browse files

net: sparx5: fix compiletime_assert for GCC 4.9



Stephen reports sparx5 broke GCC 4.9 build.
Move the compiletime_assert() out of the static function.
Compile-tested only, no object code changes.

Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Fixes: f3cad261

 ("net: sparx5: add hostmode with phylink support")
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7fe74dfd
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