Re: [PATCH 1/1] hwmon: (asus_atk0110) Fix incorrect placement of __initconst

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

 



On Mon, Aug 12, 2013 at 02:50:40PM +0530, Sachin Kamat wrote:
> __initconst should be placed between the variable name and equal
> sign for the variable to be placed in the intended section.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx>
> Cc: Luca Tettamanti <kronos.it@xxxxxxxxx>
> ---
>  drivers/hwmon/asus_atk0110.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/hwmon/asus_atk0110.c b/drivers/hwmon/asus_atk0110.c
> index b25c643..9ddadb3 100644
> --- a/drivers/hwmon/asus_atk0110.c
> +++ b/drivers/hwmon/asus_atk0110.c
> @@ -29,7 +29,7 @@ static bool new_if;
>  module_param(new_if, bool, 0);
>  MODULE_PARM_DESC(new_if, "Override detection heuristic and force the use of the new ATK0110 interface");
>  
> -static const struct dmi_system_id __initconst atk_force_new_if[] = {
> +static const struct dmi_system_id atk_force_new_if[] __initconst = {
>  	{
>  		/* Old interface has broken MCH temp monitoring */
>  		.ident = "Asus Sabertooth X58",

Based on the other discussion we just had, this patch is unnecessary.
I will therefore drop it from my queue.

Thanks,
Guenter

_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux