projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf8d9df
)
net: cx89x0: move attribute declaration before struct keyword
author
Stefan Agner
<stefan@agner.ch>
Mon, 17 Apr 2017 20:54:34 +0000
(13:54 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 18 Apr 2017 20:00:34 +0000
(16:00 -0400)
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>
drivers/net/ethernet/cirrus/cs89x0.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ethernet/cirrus/cs89x0.c
b/drivers/net/ethernet/cirrus/cs89x0.c
index 3647b28e8de019839e38234ff0a1b495ce4b05fa..47384f7323acb974eba4beb2f7de29ebd34ff953 100644
(file)
--- 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_i
d cs89x0_match[] = {
+static const struct
of_device_id __maybe_unuse
d cs89x0_match[] = {
{ .compatible = "cirrus,cs8900", },
{ .compatible = "cirrus,cs8920", },
{ },