Merge "platform: msm_shared: Correct the USB function prototype to avoid compiler warning."
diff --git a/include/dev/udc.h b/include/dev/udc.h
index f58b7b4..42ced0e 100644
--- a/include/dev/udc.h
+++ b/include/dev/udc.h
@@ -36,7 +36,7 @@
struct udc_request {
void *buf;
unsigned length;
- void (*complete)(struct udc_request *req, unsigned actual, int status);
+ void (*complete)();
void *context;
};
diff --git a/platform/msm_shared/hsusb.c b/platform/msm_shared/hsusb.c
index 6d0eb20..c9ae3b2 100644
--- a/platform/msm_shared/hsusb.c
+++ b/platform/msm_shared/hsusb.c
@@ -2,7 +2,7 @@
* Copyright (c) 2008, Google Inc.
* All rights reserved.
*
- * Copyright (c) 2009-2013, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2009-2014, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -480,7 +480,7 @@
static struct udc_request *ep0req;
static void
-ep0_setup_ack_complete(struct udc_endpoint *ep, struct usb_request *req)
+ep0_setup_ack_complete()
{
uint32_t mode;