ASoC: Fix Blackfin I2S _pointer() implementation return in bounds values
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / staging / rtl8712 / osdep_intf.h
blob3bc20257b03405bc3ea90921eef7b0a31622ab1e
1 #ifndef __OSDEP_INTF_H_
2 #define __OSDEP_INTF_H_
4 #include "osdep_service.h"
5 #include "drv_types.h"
7 #define RND4(x) (((x >> 2) + (((x & 3) == 0) ? 0 : 1)) << 2)
9 struct intf_priv {
10 u8 *intf_dev;
11 /* when in USB, IO is through interrupt in/out endpoints */
12 struct usb_device *udev;
13 struct urb *piorw_urb;
14 struct semaphore io_retevt;
17 int r871x_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
19 #endif /*_OSDEP_INTF_H_*/