aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pppoe.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/pppoe.c')
-rw-r--r--drivers/net/pppoe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/pppoe.c b/drivers/net/pppoe.c
index e2968f084439..f0031f1f97e5 100644
--- a/drivers/net/pppoe.c
+++ b/drivers/net/pppoe.c
@@ -513,17 +513,17 @@ out:
513 return NET_RX_SUCCESS; /* Lies... :-) */ 513 return NET_RX_SUCCESS; /* Lies... :-) */
514} 514}
515 515
516static struct packet_type pppoes_ptype = { 516static struct packet_type pppoes_ptype __read_mostly = {
517 .type = cpu_to_be16(ETH_P_PPP_SES), 517 .type = cpu_to_be16(ETH_P_PPP_SES),
518 .func = pppoe_rcv, 518 .func = pppoe_rcv,
519}; 519};
520 520
521static struct packet_type pppoed_ptype = { 521static struct packet_type pppoed_ptype __read_mostly = {
522 .type = cpu_to_be16(ETH_P_PPP_DISC), 522 .type = cpu_to_be16(ETH_P_PPP_DISC),
523 .func = pppoe_disc_rcv, 523 .func = pppoe_disc_rcv,
524}; 524};
525 525
526static struct proto pppoe_sk_proto = { 526static struct proto pppoe_sk_proto __read_mostly = {
527 .name = "PPPOE", 527 .name = "PPPOE",
528 .owner = THIS_MODULE, 528 .owner = THIS_MODULE,
529 .obj_size = sizeof(struct pppox_sock), 529 .obj_size = sizeof(struct pppox_sock),