Commit 65a9c631 authored by Jamie Lenehan's avatar Jamie Lenehan Committed by Christoph Hellwig

[PATCH] dc395x [1/6] - make functions static

I forgot to make some of the new functions added during the list
cleanups static. This patch just declares those new functions static.
parent 07e5813d
...@@ -822,6 +822,7 @@ void __init eeprom_override(struct NvRamType *eeprom) ...@@ -822,6 +822,7 @@ void __init eeprom_override(struct NvRamType *eeprom)
* *
* @head: The pointer to the head of the list to count the items in. * @head: The pointer to the head of the list to count the items in.
**/ **/
static
unsigned int list_size(struct list_head *head) unsigned int list_size(struct list_head *head)
{ {
unsigned int count = 0; unsigned int count = 0;
...@@ -841,6 +842,7 @@ unsigned int list_size(struct list_head *head) ...@@ -841,6 +842,7 @@ unsigned int list_size(struct list_head *head)
* @pos: The pointer the dcb for which we are searching for the * @pos: The pointer the dcb for which we are searching for the
* following dcb. * following dcb.
**/ **/
static
struct DeviceCtlBlk *dcb_get_next( struct DeviceCtlBlk *dcb_get_next(
struct list_head *head, struct list_head *head,
struct DeviceCtlBlk *pos) struct DeviceCtlBlk *pos)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment