[PATCH 1/2] S3C64XX: Ensure samsung_keypad_cfg_gpio() is prototyped

Kukjin Kim kgene.kim at samsung.com
Wed Oct 13 04:14:37 EDT 2010


Mark Brown wrote:
> 
> Since it's exported we should make sure we're using the prototype
> others see.
> 
Hi Mark,

Hmm...I'm not sure that we need really this. Of course, it can be helpful.
But if so, we have to apply this policy/rule to all of ours...but I think we
don't need it now.

> Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
> ---
>  arch/arm/mach-s3c64xx/setup-keypad.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-s3c64xx/setup-keypad.c b/arch/arm/mach-
> s3c64xx/setup-keypad.c
> index d1fd722..f8ed0d2 100644
> --- a/arch/arm/mach-s3c64xx/setup-keypad.c
> +++ b/arch/arm/mach-s3c64xx/setup-keypad.c
> @@ -12,6 +12,7 @@
> 
>  #include <linux/gpio.h>
>  #include <plat/gpio-cfg.h>
> +#include <plat/keypad.h>
> 
>  void samsung_keypad_cfg_gpio(unsigned int rows, unsigned int cols)
>  {
> --

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim at samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.




More information about the linux-arm-kernel mailing list