Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2a575f11fb8e13d6bbdefaa591e9406200674402 Commit: 2a575f11fb8e13d6bbdefaa591e9406200674402 Parent: 00a8691ca689c134eaf5b73d7251df1d6f0318be Author: Cyrill V. Gorcunov <[EMAIL PROTECTED]> AuthorDate: Sun Feb 18 01:44:02 2007 -0500 Committer: Dmitry Torokhov <[EMAIL PROTECTED]> CommitDate: Sun Feb 18 01:44:02 2007 -0500
Input: HIL - fix improper call to release_region() Do not call release_region() if the code has been compiled without CONFIG_HP300 support. Signed-off-by: Cyrill V. Gorcunov <[EMAIL PROTECTED]> Acked-by: Helge Deller <[EMAIL PROTECTED]> Signed-off-by: Dmitry Torokhov <[EMAIL PROTECTED]> --- drivers/input/keyboard/hilkbd.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/input/keyboard/hilkbd.c b/drivers/input/keyboard/hilkbd.c index 255a6ec..4de4dc2 100644 --- a/drivers/input/keyboard/hilkbd.c +++ b/drivers/input/keyboard/hilkbd.c @@ -294,8 +294,10 @@ err3: disable_irq(HIL_IRQ); free_irq(HIL_IRQ, hil_dev.dev_id); err2: +#if defined(CONFIG_HP300) release_region(HILBASE + HIL_DATA, 2); err1: +#endif input_free_device(hil_dev.dev); hil_dev.dev = NULL; return err; - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html