On Sat, Sep 30, 2017 at 10:07:12PM +0530, Bhumika Goyal wrote: > Make this const as it is only stored in the const field of a device > structure. Make the declaration in header const too. > > Structure found using Coccinelle and changes done by hand. > > Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
This looks good. However, I'm currently doing some shuffling in drivers/thunderbolt/tb.h to get Thunderbolt services supported which makes this patch not to apply cleanly anymore: https://lkml.org/lkml/2017/9/25/225 I wonder if you could rebase your patch on top of that? Also please Cc Greg as well.