On Sun, Aug 30, 2015 at 09:54:33PM +0000, Adrian Chadd wrote:
>  static int
> -iwn_ioctl(struct ieee80211com *ic, u_long cmd, void *data)
> +iwn_cdev_open(struct cdev *dev, int flags, int type, struct thread *td)
>  {
> -     struct ifreq *ifr = data;
> -     struct iwn_softc *sc = ic->ic_softc;
> -     int error = 0;
> - 
> +
> +     return (0);
> +}
> +
> +static int
> +iwn_cdev_close(struct cdev *dev, int flags, int type, struct thread *td)
> +{
> +
> +     return (0);
> +}

devfs does the right thing for drivers which does not provide d_open and
d_close methods, these empty stubs are not needed.
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to