lkml.org 
[lkml]   [2018]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v6 2/9] soc: qcom: llcc-slice: Add missing include of sizes.h
    Date
    Add missing include of sizes.h.

    drivers/soc/qcom/llcc-slice.c: In function ‘llcc_update_act_ctrl’:
    drivers/soc/qcom/llcc-slice.c:41:44: error: ‘SZ_4K’ undeclared
    #define LLCC_TRP_ACT_CTRLn(n) (n * SZ_4K)
    ^~~~~

    Signed-off-by: Niklas Cassel <niklas.cassel@linaro.org>
    Reviewed-by: Vivek Gautam <vivek.gautam@codeaurora.org>
    Reviewed-by: Vinod Koul <vkoul@kernel.org>
    ---
    drivers/soc/qcom/llcc-slice.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/drivers/soc/qcom/llcc-slice.c b/drivers/soc/qcom/llcc-slice.c
    index 54063a31132f..344dc2daf431 100644
    --- a/drivers/soc/qcom/llcc-slice.c
    +++ b/drivers/soc/qcom/llcc-slice.c
    @@ -13,6 +13,7 @@
    #include <linux/mutex.h>
    #include <linux/of_device.h>
    #include <linux/regmap.h>
    +#include <linux/sizes.h>
    #include <linux/slab.h>
    #include <linux/soc/qcom/llcc-qcom.h>

    --
    2.17.1
    \
     
     \ /
      Last update: 2018-08-29 09:57    [W:4.222 / U:0.060 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site