[PATCH v6 3/3] input: samsung-keypad - Add samsung keypad driver
From: Kukjin Kim <hidden>
Date: 2010-08-02 05:12:51
Also in:
linux-input, linux-samsung-soc
Joonyoung Shim wrote:
On 8/2/2010 12:38 PM, Kukjin Kim wrote:quoted
Joonyoung Shim wrote:quoted
Hi, I came back from vacation.quoted
quoted
quoted
quoted
Do you have any feedback? If ok, i want to go to input tree or samsung tree these added sched.h including.I applied the patch adding samsung-keypad.c and the platform data arch/arm/plat-samsung/include/plat/keypad.h and I expect that patches to actually enable keypad will go through appropriate platform tree(s).OK, the rest will go through samsung platform treeOk..will apply.Kukjin, could you remove keypad.h on the commit "ARM: SAMSUNG: Add keypad device support" of the samsung platform tree. The keypad.h file was included on input tree.(http://git.kernel.org/?p=linux/kernel/git/dtor/input.git;a=commit;h=0fffed27f92d9d7quoted
quoted
a34de9fe017b7082b5958bb93)You mean in plat-samsung/dev-keypad.c? If remove inclusion plat/keypad.h in there, following build error happens.No. I mean to remove arch/arm/plat-samsung/include/plat/keypad.h file on samsung platform tree, it was applied on input tree already. If needs, i can repost.
If it is not small change like to remove a file in a patch, I think should be re-submitted. Will drop your previous patch in my tree.
quoted
arch/arm/plat-samsung/dev-keypad.c:41: warning: 'structsamsung_keypad_platdata' declared inside parameter listquoted
arch/arm/plat-samsung/dev-keypad.c:41: warning: its scope is only this definitionor declaration, which is probably not what you wantquoted
arch/arm/plat-samsung/dev-keypad.c: In function'samsung_keypad_set_platdata':quoted
arch/arm/plat-samsung/dev-keypad.c:50: error: invalid application of 'sizeof' toincomplete type 'struct samsung_keypad_platdata'quoted
arch/arm/plat-samsung/dev-keypad.c:54: error: dereferencing pointer toincomplete typequoted
arch/arm/plat-samsung/dev-keypad.c:55: error: dereferencing pointer toincomplete typequoted
arch/arm/plat-samsung/dev-keypad.c:55: error: 'samsung_keypad_cfg_gpio'undeclared (first use in this function)quoted
arch/arm/plat-samsung/dev-keypad.c:55: error: (Each undeclared identifier isreported only oncequoted
arch/arm/plat-samsung/dev-keypad.c:55: error: for each function it appears in.) make[1]: *** [arch/arm/plat-samsung/dev-keypad.o] Error 1 As you know, released 35 today. So we have no much time for this mergewindow.quoted
I'm not sure about merge rule, but I think the compile problem can be solved by merge to 36 of input tree and samsung platform tree.
Hmm...actually, already informed about that on linux-next. If it's just build problem, I or Dmitry can fix it. However, this is not just that. I cannot understand how your 'plat/keypad.h' was included to both of patch. And I'm not sure, should be 'plat/keypad.h' in which tree... Anyway, as I said, should be solved that as soon as possible.... Thanks. Best regards, Kgene. -- Kukjin Kim [off-list ref], Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.