[PATCH] i2c: brcmstb: allocate correct amount of memory for regmap
From: f.fainelli@gmail.com (Florian Fainelli)
Date: 2016-02-22 16:42:50
Also in:
linux-i2c
From: f.fainelli@gmail.com (Florian Fainelli)
Date: 2016-02-22 16:42:50
Also in:
linux-i2c
Le 21/02/2016 06:16, Wolfram Sang a ?crit :
We want the size of the struct, not of a pointer to it. To be future proof, just dereference the pointer to get the desired type. Signed-off-by: Wolfram Sang <redacted>
Fixes: dd1aa2524bc5 ("i2c: brcmstb: Add Broadcom settop SoC i2c
controller driver")
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Thanks!
--
Florian