From mboxrd@z Thu Jan 1 00:00:00 1970 From: kmpark@infradead.org (Kyungmin Park) Date: Mon, 7 Sep 2009 09:08:22 +0900 Subject: [PATCH 07/12] [ARM][S3C6410] Add definition of keypad platform data In-Reply-To: <00a901ca2e2d$004e7bf0$00eb73d0$%yang@samsung.com> References: <00a901ca2e2d$004e7bf0$00eb73d0$%yang@samsung.com> Message-ID: <9c9fda240909061708v5fa6e280wc764f037e3f8e51a@mail.gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 2009/9/5 ??? : > This patch includes platform data header of keypad driver and > extern definition of function to set platform data. > > Signed-off-by: Jinsung Yang > Signed-off-by: Kyeongil Kim > --- > ?arch/arm/plat-s3c/include/plat/keypad.h | ? 14 ++++++++++++++ > ?1 files changed, 14 insertions(+), 0 deletions(-) > ?create mode 100644 arch/arm/plat-s3c/include/plat/keypad.h > > diff --git a/arch/arm/plat-s3c/include/plat/keypad.h b/arch/arm/plat-s3c/include/plat/keypad.h > new file mode 100644 > index 0000000..caf2417 > --- /dev/null > +++ b/arch/arm/plat-s3c/include/plat/keypad.h > @@ -0,0 +1,14 @@ > +#ifndef __ASM_PLAT_S3C_KEYPAD_H > +#define __ASM_PLAT_S3C_KEYPAD_H Also you missed the copyright here. > + > +struct s3c_platform_keypad { > + ? ? ? int nr_rows; > + ? ? ? int nr_cols; > + ? ? ? int max_keys; > + ? ? ? int max_masks; > + ? ? ? int delay; > +}; Don't you need the keymap at here? And please consider s5pc1xx series. you already aware the s5pc1xx series keypad. Also add the cfg_gpio at here. Thank you, Kyungmin Park > + > +extern void s3c_keypad_set_platdata(struct s3c_platform_keypad *pd); > + > +#endif /* __ASM_PLAT_S3C_KEYPAD_H */ > -- > 1.6.2.5 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel at lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel >