Re: [RFC PATCH 1/3] Multistate Switch Class: import Android's switchclass and modify.

From: MyungJoo Ham
Date: Wed Nov 23 2011 - 21:46:43 EST


On Thu, Nov 24, 2011 at 11:05 AM, MyungJoo Ham <myungjoo.ham@xxxxxxxxxxx> wrote:
> Multistate switch class is based on and an extension of Android
> kernel's switch class located at linux/drivers/switch/.
> This patch provides the before-extension switch class moved to the
> location where multistate switch class will be located.
>
> The before-extension class, switch class of Android kernel, commits
> imported are:
>
> switch: switch class and GPIO drivers.
> Author: Mike Lockwood <lockwood@xxxxxxxxxxx>
>
> switch: gpio: Don't call request_irq with interrupts disabled
> Author: Arve Hjìnnevìg <arve@xxxxxxxxxxx>
>
> switch: Use device_create instead of device_create_drvdata.
> Author: Arve Hjìnnevìg <arve@xxxxxxxxxxx>
>
> switch_gpio: Add missing #include <linux/interrupt.h>
> Author: Mike Lockwood <lockwood@xxxxxxxxxxx>
>
> In this patch, upon the commits of Android kernel, we have added:
> - Relocated and renamed for multistate switch class
> - Comments, module name, and author information are updated
> - Code clean for successing patches
> - Bugfix: enabling write access without write functions
>
> Signed-off-by: MyungJoo Ham <myungjoo.ham@xxxxxxxxxxx>
> Signed-off-by: Kyungmin Park <kyungmin.park@xxxxxxxxxxx>
> ---
> Âdrivers/Makefile      Â|  Â1 +
[]
>
> diff --git a/drivers/Makefile b/drivers/Makefile
> index 1b31421..7b042da 100644
> --- a/drivers/Makefile
> +++ b/drivers/Makefile
> @@ -100,6 +100,7 @@ obj-$(CONFIG_CPU_IDLE) Â Â Â Â Â Â Â+= cpuidle/
> Âobj-$(CONFIG_MMC) Â Â Â Â Â Â Â+= mmc/
> Âobj-$(CONFIG_MEMSTICK) Â Â Â Â += memstick/
> Âobj-y             Â+= leds/
> +obj-$(CONFIG_SWITCH) Â Â Â Â Â += switch/
> Âobj-$(CONFIG_INFINIBAND) Â Â Â += infiniband/
> Âobj-$(CONFIG_SGI_SN) Â Â Â Â Â += sn/
> Âobj-y             Â+= firmware/

Please never mind the part of /drivers/Makefile. That should be removed.



Cheers!
MyungJoo

--
MyungJoo Ham, Ph.D.
Mobile Software Platform Lab, DMC Business, Samsung Electronics
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/