Skip to content

Commit

Permalink
[PATCH] ieee1394: fix kerneldoc of hpsb_alloc_host
Browse files Browse the repository at this point in the history
There was stuff between the comment and the function.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Ben Collins <bcollins@ubuntu.com>
  • Loading branch information
Stefan Richter authored and Ben Collins committed Jul 3, 2006
1 parent cab8d15 commit 3c6c65f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/ieee1394/hosts.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ static int alloc_hostnum_cb(struct hpsb_host *host, void *__data)
return 0;
}

static DEFINE_MUTEX(host_num_alloc);

/**
* hpsb_alloc_host - allocate a new host controller.
* @drv: the driver that will manage the host controller
Expand All @@ -105,8 +107,6 @@ static int alloc_hostnum_cb(struct hpsb_host *host, void *__data)
* Return Value: a pointer to the &hpsb_host if successful, %NULL if
* no memory was available.
*/
static DEFINE_MUTEX(host_num_alloc);

struct hpsb_host *hpsb_alloc_host(struct hpsb_host_driver *drv, size_t extra,
struct device *dev)
{
Expand Down

0 comments on commit 3c6c65f

Please sign in to comment.