diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-14 15:05:36 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:01:45 -0700 |
commit | 2be1301b7dafe5c1d081607377291d4274b40d66 (patch) | |
tree | f37cbe1a4c29792233b67875a407c6f0aa102cd9 /drivers/staging/hv/VmbusPrivate.h | |
parent | 621d7fb7597e8cc2e24e6b0ca67118b452675d90 (diff) | |
download | op-kernel-dev-2be1301b7dafe5c1d081607377291d4274b40d66.zip op-kernel-dev-2be1301b7dafe5c1d081607377291d4274b40d66.tar.gz |
Staging: hv: remove INTERNAL typedef
The INTERNAL typedef is now removed from the Hyper-V driver code.
Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/VmbusPrivate.h')
-rw-r--r-- | drivers/staging/hv/VmbusPrivate.h | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/drivers/staging/hv/VmbusPrivate.h b/drivers/staging/hv/VmbusPrivate.h index 9027c8c..9ce0c5b 100644 --- a/drivers/staging/hv/VmbusPrivate.h +++ b/drivers/staging/hv/VmbusPrivate.h @@ -25,10 +25,6 @@ #ifndef _VMBUS_PRIVATE_H_ #define _VMBUS_PRIVATE_H_ -#ifndef INTERNAL -#define INTERNAL static -#endif - #include "Hv.h" #include "include/VmbusApi.h" #include "Channel.h" @@ -114,25 +110,25 @@ extern VMBUS_CONNECTION gVmbusConnection; // // General vmbus interface // -INTERNAL DEVICE_OBJECT* +static DEVICE_OBJECT* VmbusChildDeviceCreate( GUID deviceType, GUID deviceInstance, void *context); -INTERNAL int +static int VmbusChildDeviceAdd( DEVICE_OBJECT* Device); -INTERNAL void +static void VmbusChildDeviceRemove( DEVICE_OBJECT* Device); -//INTERNAL void +//static void //VmbusChildDeviceDestroy( // DEVICE_OBJECT*); -INTERNAL VMBUS_CHANNEL* +static VMBUS_CHANNEL* GetChannelFromRelId( UINT32 relId ); @@ -140,28 +136,28 @@ GetChannelFromRelId( // // Connection interface // -INTERNAL int +static int VmbusConnect( VOID ); -INTERNAL int +static int VmbusDisconnect( VOID ); -INTERNAL int +static int VmbusPostMessage( PVOID buffer, SIZE_T bufSize ); -INTERNAL int +static int VmbusSetEvent( UINT32 childRelId ); -INTERNAL VOID +static VOID VmbusOnEvents( VOID ); |