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,
/* --------------------------------------------------------------------- */
static struct hdlcdrv_ops par96_ops = {
bc_drvname,
bc_drvinfo,
par96_open,
par96_close,
baycom_ioctl
.drvname = bc_drvname,
.drvinfo = bc_drvinfo,
.open = par96_open,
.close = par96_close,
.ioctl = baycom_ioctl
};
/* --------------------------------------------------------------------- */
......
......@@ -495,11 +495,11 @@ static int baycom_ioctl(struct net_device *dev, struct ifreq *ifr,
/* --------------------------------------------------------------------- */
static struct hdlcdrv_ops ser12_ops = {
bc_drvname,
bc_drvinfo,
ser12_open,
ser12_close,
baycom_ioctl
.drvname = bc_drvname,
.drvinfo = bc_drvinfo,
.open = ser12_open,
.close = ser12_close,
.ioctl = baycom_ioctl,
};
/* --------------------------------------------------------------------- */
......
......@@ -540,11 +540,11 @@ static int baycom_ioctl(struct net_device *dev, struct ifreq *ifr,
/* --------------------------------------------------------------------- */
static struct hdlcdrv_ops ser12_ops = {
bc_drvname,
bc_drvinfo,
ser12_open,
ser12_close,
baycom_ioctl
.drvname = bc_drvname,
.drvinfo = bc_drvinfo,
.open = ser12_open,
.close = ser12_close,
.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