Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228291
b: refs/heads/master
c: 2a31474
h: refs/heads/master
i:
  228289: 7cbf1a6
  228287: e5591c0
v: v3
  • Loading branch information
Dan Carpenter authored and Greg Kroah-Hartman committed Dec 7, 2010
1 parent a69c2bb commit b0105ed
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 85c0b1760a7c259679d188bef58866fc641deca5
refs/heads/master: 2a314742d300edc2010d50a006c77ceb04c75119
20 changes: 10 additions & 10 deletions trunk/drivers/staging/bcm/InterfaceInit.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ static const u32 default_msg =
| NETIF_MSG_TIMER | NETIF_MSG_TX_ERR | NETIF_MSG_RX_ERR
| NETIF_MSG_IFUP | NETIF_MSG_IFDOWN;

static INT InterfaceAdapterInit(PS_INTERFACE_ADAPTER Adapter);
static int InterfaceAdapterInit(PS_INTERFACE_ADAPTER Adapter);

static VOID InterfaceAdapterFree(PS_INTERFACE_ADAPTER psIntfAdapter)
static void InterfaceAdapterFree(PS_INTERFACE_ADAPTER psIntfAdapter)
{
INT i = 0;
int i = 0;
// Wake up the wait_queue...
if(psIntfAdapter->psAdapter->LEDInfo.led_thread_running & BCM_LED_THREAD_RUNNING_ACTIVELY)
{
Expand Down Expand Up @@ -70,9 +70,9 @@ static VOID InterfaceAdapterFree(PS_INTERFACE_ADAPTER psIntfAdapter)
AdapterFree(psIntfAdapter->psAdapter);
}

static VOID ConfigureEndPointTypesThroughEEPROM(PMINI_ADAPTER Adapter)
static void ConfigureEndPointTypesThroughEEPROM(PMINI_ADAPTER Adapter)
{
ULONG ulReg = 0;
unsigned long ulReg = 0;

// Program EP2 MAX_PKT_SIZE
ulReg = ntohl(EP2_MPS_REG);
Expand Down Expand Up @@ -335,7 +335,7 @@ static int AllocUsbCb(PS_INTERFACE_ADAPTER psIntfAdapter)

static int device_run(PS_INTERFACE_ADAPTER psIntfAdapter)
{
INT value = 0;
int value = 0;
UINT status = STATUS_SUCCESS;

status = InitCardAndDownloadFirmware(psIntfAdapter->psAdapter);
Expand Down Expand Up @@ -444,14 +444,14 @@ static inline int bcm_usb_endpoint_is_isoc_out(const struct usb_endpoint_descrip
return (bcm_usb_endpoint_xfer_isoc(epd) && bcm_usb_endpoint_dir_out(epd));
}

static INT InterfaceAdapterInit(PS_INTERFACE_ADAPTER psIntfAdapter)
static int InterfaceAdapterInit(PS_INTERFACE_ADAPTER psIntfAdapter)
{
struct usb_host_interface *iface_desc;
struct usb_endpoint_descriptor *endpoint;
size_t buffer_size;
ULONG value;
INT retval = 0;
INT usedIntOutForBulkTransfer = 0 ;
unsigned long value;
int retval = 0;
int usedIntOutForBulkTransfer = 0 ;
BOOLEAN bBcm16 = FALSE;
UINT uiData = 0;

Expand Down

0 comments on commit b0105ed

Please sign in to comment.