Commit 98919de3 authored by Stephen Hemminger's avatar Stephen Hemminger Committed by Jeff Garzik

[PATCH] (2/4) baycom c99 initializers

parent eb8a710d
...@@ -387,11 +387,11 @@ static int baycom_ioctl(struct net_device *dev, struct ifreq *ifr, ...@@ -387,11 +387,11 @@ static int baycom_ioctl(struct net_device *dev, struct ifreq *ifr,
/* --------------------------------------------------------------------- */ /* --------------------------------------------------------------------- */
static struct hdlcdrv_ops par96_ops = { static struct hdlcdrv_ops par96_ops = {
bc_drvname, .drvname = bc_drvname,
bc_drvinfo, .drvinfo = bc_drvinfo,
par96_open, .open = par96_open,
par96_close, .close = par96_close,
baycom_ioctl .ioctl = baycom_ioctl
}; };
/* --------------------------------------------------------------------- */ /* --------------------------------------------------------------------- */
......
...@@ -495,11 +495,11 @@ static int baycom_ioctl(struct net_device *dev, struct ifreq *ifr, ...@@ -495,11 +495,11 @@ static int baycom_ioctl(struct net_device *dev, struct ifreq *ifr,
/* --------------------------------------------------------------------- */ /* --------------------------------------------------------------------- */
static struct hdlcdrv_ops ser12_ops = { static struct hdlcdrv_ops ser12_ops = {
bc_drvname, .drvname = bc_drvname,
bc_drvinfo, .drvinfo = bc_drvinfo,
ser12_open, .open = ser12_open,
ser12_close, .close = ser12_close,
baycom_ioctl .ioctl = baycom_ioctl,
}; };
/* --------------------------------------------------------------------- */ /* --------------------------------------------------------------------- */
......
...@@ -540,11 +540,11 @@ static int baycom_ioctl(struct net_device *dev, struct ifreq *ifr, ...@@ -540,11 +540,11 @@ static int baycom_ioctl(struct net_device *dev, struct ifreq *ifr,
/* --------------------------------------------------------------------- */ /* --------------------------------------------------------------------- */
static struct hdlcdrv_ops ser12_ops = { static struct hdlcdrv_ops ser12_ops = {
bc_drvname, .drvname = bc_drvname,
bc_drvinfo, .drvinfo = bc_drvinfo,
ser12_open, .open = ser12_open,
ser12_close, .close = ser12_close,
baycom_ioctl .ioctl = baycom_ioctl,
}; };
/* --------------------------------------------------------------------- */ /* --------------------------------------------------------------------- */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment