Re: [PATCH 11/12] ARM: OMAP1: Palm Tungsten E board clean-up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 17, 2007 at 09:56:57PM -0800, Tony Lindgren wrote:
> @@ -339,74 +341,33 @@ static struct spi_board_info palmte_spi_info[] __initdata = {
>  	},
>  };
>  
> -/* Periodically check for changes on important input pins */
> -struct timer_list palmte_pin_timer;
> -int prev_power, prev_headphones;
> -
> -static void palmte_pin_handler(unsigned long data) {
> -	int power, headphones;
> -
> -	power = !omap_get_gpio_datain(PALMTE_DC_GPIO);
> -	headphones = omap_get_gpio_datain(PALMTE_HEADPHONES_GPIO);
> -
> -	if (power && !prev_power)
> -		printk(KERN_INFO "PM: cable connected\n");
> -	else if (!power && prev_power)
> -		printk(KERN_INFO "PM: cable disconnected\n");
> -
> -	if (headphones && !prev_headphones) {
> +static void palmte_headphones_detect(void *data, int state) {

That should be:

static void palmte_headphones_detect(void *data, int state)
{

-
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux