Re: [PATCH] bcma: make some functions static

2012-06-01 Thread Hauke Mehrtens
On 06/01/2012 09:58 AM, Arend van Spriel wrote: > On 05/31/2012 10:40 PM, Hauke Mehrtens wrote: >> The functions and structs are not used in an other file and the >> prototypes are in no header file, just make them static so the compiler >> is able to optimize them better. >> >> Signed-off-by: Hauk

Re: [PATCH] bcma: make some functions static

2012-06-01 Thread Arend van Spriel
On 05/31/2012 10:40 PM, Hauke Mehrtens wrote: > The functions and structs are not used in an other file and the > prototypes are in no header file, just make them static so the compiler > is able to optimize them better. > > Signed-off-by: Hauke Mehrtens > --- > diff --git a/drivers/bcma/host_pci

[PATCH] bcma: make some functions static

2012-05-31 Thread Hauke Mehrtens
The functions and structs are not used in an other file and the prototypes are in no header file, just make them static so the compiler is able to optimize them better. Signed-off-by: Hauke Mehrtens --- drivers/bcma/driver_chipcommon_pmu.c |6 +++--- drivers/bcma/host_pci.c |