Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 355028
b: refs/heads/master
c: 170d35a
h: refs/heads/master
v: v3
  • Loading branch information
Jon Mason authored and Greg Kroah-Hartman committed Jan 20, 2013
1 parent 1486c4d commit c0ca9ad
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 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: d66d7ac2e09f26dbcd3bfbd8bb05e658de89719a
refs/heads/master: 170d35a57cf2c87bbfdfe6ec0485f678bdb53737
14 changes: 0 additions & 14 deletions trunk/drivers/ntb/ntb_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,20 +236,6 @@ void ntb_unregister_transport(struct ntb_device *ndev)
ndev->ntb_transport = NULL;
}

/**
* ntb_get_max_spads() - get the total scratch regs usable
* @ndev: pointer to ntb_device instance
*
* This function returns the max 32bit scratchpad registers usable by the
* upper layer.
*
* RETURNS: total number of scratch pad registers available
*/
int ntb_get_max_spads(struct ntb_device *ndev)
{
return ndev->limits.max_spads;
}

/**
* ntb_write_local_spad() - write to the secondary scratchpad register
* @ndev: pointer to ntb_device instance
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/ntb/ntb_transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ static int ntb_client_remove(struct device *dev)
return 0;
}

struct bus_type ntb_bus_type = {
static struct bus_type ntb_bus_type = {
.name = "ntb_bus",
.match = ntb_match_bus,
.probe = ntb_client_probe,
Expand Down

0 comments on commit c0ca9ad

Please sign in to comment.