projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: replace uses of __constant_{endian}
[deliverable/linux.git]
/
net
/
can
/
af_can.c
diff --git
a/net/can/af_can.c
b/net/can/af_can.c
index fa417ca6cbe6c88cf97c305ed399681125acdc03..d90e8dd975fcf05d842be52fd41ef8e1f369d411 100644
(file)
--- a/
net/can/af_can.c
+++ b/
net/can/af_can.c
@@
-828,7
+828,7
@@
static int can_notifier(struct notifier_block *nb, unsigned long msg,
*/
static struct packet_type can_packet __read_mostly = {
- .type =
__constant_htons
(ETH_P_CAN),
+ .type =
cpu_to_be16
(ETH_P_CAN),
.dev = NULL,
.func = can_rcv,
};
This page took
0.027285 seconds
and
5
git commands to generate.