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>
Dieser Commit ist enthalten in:
stephen hemminger
2010-08-04 07:34:36 +00:00
committet von David S. Miller
Ursprung 3b5bac2bde
Commit d7100da026
8 geänderte Dateien mit 16 neuen und 13 gelöschten Zeilen

Datei anzeigen

@@ -260,7 +260,7 @@ static int pppoatm_devppp_ioctl(struct ppp_channel *chan, unsigned int cmd,
return -ENOTTY;
}
static /*const*/ struct ppp_channel_ops pppoatm_ops = {
static const struct ppp_channel_ops pppoatm_ops = {
.start_xmit = pppoatm_send,
.ioctl = pppoatm_devppp_ioctl,
};