Re: [PATCH] ACPI: ibm_acpi: allow clean removal

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

 



Applied.

thanks,
-Len

On Monday 18 December 2006 12:53, Henrique de Moraes Holschuh wrote:
> From: Alexey Starikovskiy <alexey_y_starikovskiy@xxxxxxxxxxxxxxx>
> 
> Allow clean removal by setting notify_installed in the right place.
> 
> Alexey Starikovskiy <alexey.y.starikovskiy@xxxxxxxxx>
> Signed-off-by: Henrique de Moraes Holschuh <hmh@xxxxxxxxxx>
> Signed-off-by: Len Brown <len.brown@xxxxxxxxx>
> ---
> 
>  drivers/acpi/ibm_acpi.c |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/acpi/ibm_acpi.c b/drivers/acpi/ibm_acpi.c
> index 003a987..719a320 100644
> --- a/drivers/acpi/ibm_acpi.c
> +++ b/drivers/acpi/ibm_acpi.c
> @@ -1805,7 +1805,7 @@ static int __init setup_notify(struct ibm_struct *ibm)
>  		       ibm->name, status);
>  		return -ENODEV;
>  	}
> -
> +	ibm->notify_installed = 1;
>  	return 0;
>  }
>  
> @@ -1882,7 +1882,6 @@ static int __init ibm_init(struct ibm_struct *ibm)
>  		ret = setup_notify(ibm);
>  		if (ret < 0)
>  			return ret;
> -		ibm->notify_installed = 1;
>  	}
>  
>  	return 0;
> 
> 
> --  
>   "One disk to rule them all, One disk to find them. One disk to bring
>   them all and in the darkness grind them. In the Land of Redmond
>   where the shadows lie." -- The Silicon Valley Tarot
>   Henrique Holschuh
> -
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel

[Index of Archives]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite Advice]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux