lkml.org 
[lkml]   [2018]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[RFC PATCH] counter: 104-quad-8: quad8_ops can be static

    Fixes: b3822048aa0b ("counter: 104-quad-8: Add Generic Counter interface support")
    Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
    ---
    104-quad-8.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/counter/104-quad-8.c b/drivers/counter/104-quad-8.c
    index 7c72fb7..8696a512 100644
    --- a/drivers/counter/104-quad-8.c
    +++ b/drivers/counter/104-quad-8.c
    @@ -800,7 +800,7 @@ static int quad8_action_get(struct counter_device *counter,
    return 0;
    }

    -const struct counter_ops quad8_ops = {
    +static const struct counter_ops quad8_ops = {
    .signal_read = quad8_signal_read,
    .count_read = quad8_count_read,
    .count_write = quad8_count_write,
    \
     
     \ /
      Last update: 2018-05-19 15:18    [W:5.268 / U:0.236 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site