]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/staging/hv/channel.c
drm/nv04-nv40: Fall back to panel rescaling if we have no usable native mode.
[mv-sheeva.git] / drivers / staging / hv / channel.c
index 39b8fd3d04598346677f7168b95b79312f106bb7..26ebc77f22b7098f1f549edaacd2237efd99d0ea 100644 (file)
@@ -305,6 +305,7 @@ errorout:
        kfree(openInfo);
        return err;
 }
+EXPORT_SYMBOL_GPL(vmbus_open);
 
 /*
  * dump_gpadl_body - Dump the gpadl body message to the console for
@@ -584,6 +585,7 @@ Cleanup:
        kfree(msginfo);
        return ret;
 }
+EXPORT_SYMBOL_GPL(vmbus_establish_gpadl);
 
 /*
  * vmbus_teardown_gpadl -Teardown the specified GPADL handle
@@ -637,6 +639,7 @@ int vmbus_teardown_gpadl(struct vmbus_channel *channel, u32 gpadl_handle)
        kfree(info);
        return ret;
 }
+EXPORT_SYMBOL_GPL(vmbus_teardown_gpadl);
 
 /*
  * vmbus_close - Close the specified channel
@@ -698,9 +701,10 @@ void vmbus_close(struct vmbus_channel *channel)
                list_del(&channel->ListEntry);
                spin_unlock_irqrestore(&gVmbusConnection.channel_lock, flags);
 
-               FreeVmbusChannel(channel);
+               free_channel(channel);
        }
 }
+EXPORT_SYMBOL_GPL(vmbus_close);
 
 /**
  * vmbus_sendpacket() - Send the specified buffer on the given channel
@@ -821,6 +825,7 @@ int vmbus_sendpacket_pagebuffer(struct vmbus_channel *channel,
 
        return ret;
 }
+EXPORT_SYMBOL_GPL(vmbus_sendpacket_pagebuffer);
 
 /*
  * vmbus_sendpacket_multipagebuffer - Send a multi-page buffer packet
@@ -889,7 +894,7 @@ int vmbus_sendpacket_multipagebuffer(struct vmbus_channel *channel,
 
        return ret;
 }
-
+EXPORT_SYMBOL_GPL(vmbus_sendpacket_multipagebuffer);
 
 /**
  * vmbus_recvpacket() - Retrieve the user packet on the specified channel
@@ -1015,6 +1020,7 @@ int vmbus_recvpacket_raw(struct vmbus_channel *channel, void *buffer,
        spin_unlock_irqrestore(&channel->inbound_lock, flags);
        return 0;
 }
+EXPORT_SYMBOL_GPL(vmbus_recvpacket_raw);
 
 /*
  * vmbus_onchannel_event - Channel event callback