lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4F1F2E85.1010505@xenotime.net>
Date:	Tue, 24 Jan 2012 14:19:49 -0800
From:	Randy Dunlap <rdunlap@...otime.net>
To:	Fabio Estevam <fabio.estevam@...escale.com>
CC:	linux-kernel@...r.kernel.org, broonie@...nsource.wolfsonmicro.com
Subject: Re: [PATCH] regulator: mc13xxx-regulator-core: Fix the build when
 driver is selected as module

On 01/24/2012 12:37 PM, Fabio Estevam wrote:
> Fix the following build error when mc138xxx driver is built as module:
> 
> ERROR: "mc13xxx_parse_regulators_dt" [drivers/regulator/mc13892-regulator.ko] undefined!
> ERROR: "mc13xxx_get_num_regulators_dt" [drivers/regulator/mc13892-regulator.ko] undefined!
> 
> Reported-by: Randy Dunlap <rdunlap@...otime.net>
> Signed-off-by: Fabio Estevam <fabio.estevam@...escale.com>

Acked-by: Randy Dunlap <rdunlap@...otime.net>

Thanks.

> ---
>  drivers/regulator/mc13xxx-regulator-core.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/regulator/mc13xxx-regulator-core.c b/drivers/regulator/mc13xxx-regulator-core.c
> index 80ecafe..62dcd0a 100644
> --- a/drivers/regulator/mc13xxx-regulator-core.c
> +++ b/drivers/regulator/mc13xxx-regulator-core.c
> @@ -254,6 +254,7 @@ int __devinit mc13xxx_get_num_regulators_dt(struct platform_device *pdev)
>  
>  	return num;
>  }
> +EXPORT_SYMBOL_GPL(mc13xxx_get_num_regulators_dt);
>  
>  struct mc13xxx_regulator_init_data * __devinit mc13xxx_parse_regulators_dt(
>  	struct platform_device *pdev, struct mc13xxx_regulator *regulators,
> @@ -291,6 +292,7 @@ struct mc13xxx_regulator_init_data * __devinit mc13xxx_parse_regulators_dt(
>  
>  	return data;
>  }
> +EXPORT_SYMBOL_GPL(mc13xxx_parse_regulators_dt);
>  #endif
>  
>  MODULE_LICENSE("GPL v2");


-- 
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ