Skip to content

Commit

Permalink
net: cx89x0: move attribute declaration before struct keyword
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stefan Agner authored and David S. Miller committed Apr 18, 2017
1 parent bf8d9df commit 9868879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/cirrus/cs89x0.c
Original file line number Diff line number Diff line change
Expand Up @@ -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", },
{ },
Expand Down

0 comments on commit 9868879

Please sign in to comment.