2008-02-13 21:46:37

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] make s2io.c:init_tti() static

This patch makes the needlessly global init_tti() static.

Signed-off-by: Adrian Bunk <[email protected]>

---

This patch has been sent on:
- 30 Jan 2008

1e8c2b07be955b181814e4c24366517a66557908
diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c
index 5fab7d7..bc94e84 100644
--- a/drivers/net/s2io.c
+++ b/drivers/net/s2io.c
@@ -1088,7 +1088,7 @@ static int s2io_print_pci_mode(struct s2io_nic *nic)
* '-1' on failure
*/

-int init_tti(struct s2io_nic *nic, int link)
+static int init_tti(struct s2io_nic *nic, int link)
{
struct XENA_dev_config __iomem *bar0 = nic->bar0;
register u64 val64 = 0;


2008-02-13 22:01:56

by Ramkrishna Vepa

[permalink] [raw]
Subject: RE: [2.6 patch] make s2io.c:init_tti() static

Please apply. Looks good.

Ram

> -----Original Message-----
> From: Adrian Bunk [mailto:[email protected]]
> Sent: Wednesday, February 13, 2008 1:31 PM
> To: Surjit Reang; Sreenivasa Honnur; Ramkrishna Vepa; Rastapur
Santosh;
> Sivakumar Subramani
> Cc: [email protected]; [email protected]
> Subject: [2.6 patch] make s2io.c:init_tti() static
>
> This patch makes the needlessly global init_tti() static.
>
> Signed-off-by: Adrian Bunk <[email protected]>
>
> ---
>
> This patch has been sent on:
> - 30 Jan 2008
>
> 1e8c2b07be955b181814e4c24366517a66557908
> diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c
> index 5fab7d7..bc94e84 100644
> --- a/drivers/net/s2io.c
> +++ b/drivers/net/s2io.c
> @@ -1088,7 +1088,7 @@ static int s2io_print_pci_mode(struct s2io_nic
*nic)
> * '-1' on failure
> */
>
> -int init_tti(struct s2io_nic *nic, int link)
> +static int init_tti(struct s2io_nic *nic, int link)
> {
> struct XENA_dev_config __iomem *bar0 = nic->bar0;
> register u64 val64 = 0;