aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/cirrus
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2017-04-17 13:54:34 -0700
committerDavid S. Miller <davem@davemloft.net>2017-04-18 16:00:34 -0400
commit9868879f293c599ce13b584c5bd8800312970781 (patch)
tree4bdb82d1730f31cf8e18e2ba0c135f037aba22aa /drivers/net/ethernet/cirrus
parentbe2net: VxLAN offload should be re-enabled when only 1 UDP port is left (diff)
downloadlinux-dev-9868879f293c599ce13b584c5bd8800312970781.tar.xz
linux-dev-9868879f293c599ce13b584c5bd8800312970781.zip
net: cx89x0: move attribute declaration before struct keyword
The attribute declaration is typically before the definition. Move the __maybe_unused attribute declaration before the struct keyword. Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cirrus')
-rw-r--r--drivers/net/ethernet/cirrus/cs89x0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/cirrus/cs89x0.c b/drivers/net/ethernet/cirrus/cs89x0.c
index 3647b28e8de0..47384f7323ac 100644
--- a/drivers/net/ethernet/cirrus/cs89x0.c
+++ b/drivers/net/ethernet/cirrus/cs89x0.c
@@ -1896,7 +1896,7 @@ static int cs89x0_platform_remove(struct platform_device *pdev)
return 0;
}
-static const struct __maybe_unused of_device_id cs89x0_match[] = {
+static const struct of_device_id __maybe_unused cs89x0_match[] = {
{ .compatible = "cirrus,cs8900", },
{ .compatible = "cirrus,cs8920", },
{ },