![Pekka Enberg](/assets/img/avatar_default.png)
They're used in one place so we can inline them. Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
38 lines
852 B
C
38 lines
852 B
C
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
// Copyright (c) 1996-2004 Winbond Electronic Corporation
|
|
//
|
|
// Module Name:
|
|
// wbusb_s.h
|
|
//
|
|
// Abstract:
|
|
// Linux driver.
|
|
//
|
|
// Author:
|
|
//
|
|
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
|
|
#ifndef __WINBOND_WBUSB_S_H
|
|
#define __WINBOND_WBUSB_S_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
//---------------------------------------------------------------------------
|
|
// RW_CONTEXT --
|
|
//
|
|
// Used to track driver-generated io irps
|
|
//---------------------------------------------------------------------------
|
|
typedef struct _RW_CONTEXT
|
|
{
|
|
void* pHwData;
|
|
struct urb *urb;
|
|
void* pCallBackFunctionParameter;
|
|
} RW_CONTEXT, *PRW_CONTEXT;
|
|
|
|
typedef struct _WBUSB {
|
|
u32 IsUsb20;
|
|
struct usb_device *udev;
|
|
u32 DetectCount;
|
|
} WBUSB, *PWBUSB;
|
|
|
|
#endif
|