2013-04-05 12:06:35

by Linus Walleij

[permalink] [raw]
Subject: [PATCH] crypto: ux500: add missing comma

From: Linus Walleij <[email protected]>

Commit 4f31f5b19eb0418a847b989abc9ac22af1991fe2
"PM / crypto / ux500: Use struct dev_pm_ops for power management"
add a new line to the driver struct but missed to add a
trailing comma, causing build errors when crypto is
selected. This adds the missing comma.

This was not noticed until now because the crypto block
is not in the ux500 defconfig. A separate patch will
be submitted to fix this.

Cc: <[email protected]> # 3.8.x
Cc: Rafael J. Wysocki <[email protected]>
Cc: Magnus Myrstedt <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
---
drivers/crypto/ux500/cryp/cryp_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/ux500/cryp/cryp_core.c b/drivers/crypto/ux500/cryp/cryp_core.c
index 8bc5fef..22c9063 100644
--- a/drivers/crypto/ux500/cryp/cryp_core.c
+++ b/drivers/crypto/ux500/cryp/cryp_core.c
@@ -1750,7 +1750,7 @@ static struct platform_driver cryp_driver = {
.shutdown = ux500_cryp_shutdown,
.driver = {
.owner = THIS_MODULE,
- .name = "cryp1"
+ .name = "cryp1",
.pm = &ux500_cryp_pm,
}
};
--
1.7.11.3


2013-04-05 13:02:39

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH] crypto: ux500: add missing comma

On Fri, Apr 05, 2013 at 02:06:35PM +0200, Linus Walleij wrote:
> From: Linus Walleij <[email protected]>
>
> Commit 4f31f5b19eb0418a847b989abc9ac22af1991fe2
> "PM / crypto / ux500: Use struct dev_pm_ops for power management"
> add a new line to the driver struct but missed to add a
> trailing comma, causing build errors when crypto is
> selected. This adds the missing comma.
>
> This was not noticed until now because the crypto block
> is not in the ux500 defconfig. A separate patch will
> be submitted to fix this.
>
> Cc: <[email protected]> # 3.8.x
> Cc: Rafael J. Wysocki <[email protected]>
> Cc: Magnus Myrstedt <[email protected]>
> Signed-off-by: Linus Walleij <[email protected]>

Patch applied. Thanks!
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt