ppp: make channel_ops const
The PPP channel ops structure should be const. Cleanup the declarations to use standard C99 format. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Šī revīzija ir iekļauta:

revīziju iesūtīja
David S. Miller

vecāks
3b5bac2bde
revīzija
d7100da026
@@ -20,7 +20,7 @@
|
||||
/* Please put other headers in irnet.h - Thanks */
|
||||
|
||||
/* Generic PPP callbacks (to call us) */
|
||||
static struct ppp_channel_ops irnet_ppp_ops = {
|
||||
static const struct ppp_channel_ops irnet_ppp_ops = {
|
||||
.start_xmit = ppp_irnet_send,
|
||||
.ioctl = ppp_irnet_ioctl
|
||||
};
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user