diff options
| author | Bhumika Goyal <[email protected]> | 2017-09-04 14:00:49 +0000 |
|---|---|---|
| committer | Bartlomiej Zolnierkiewicz <[email protected]> | 2017-09-04 14:00:49 +0000 |
| commit | 58ec01cebafd4b9fc039c12c744013e9c71ec802 (patch) | |
| tree | cc2f44ee06e4a55008076fb2b2c0c04cc67f9a92 /fs/btrfs/dev-replace.c | |
| parent | video/console: Add new BIOS date for GPD pocket to dmi quirk table (diff) | |
| download | kernel-58ec01cebafd4b9fc039c12c744013e9c71ec802.tar.gz kernel-58ec01cebafd4b9fc039c12c744013e9c71ec802.zip | |
video: fbdev: make fb_videomode const
Make these const as they are only passed to a const argument of the
function fb_find_mode.
Done using Coccinelle.
@match disable optional_qualifier@
identifier s;
@@
static struct fb_videomode s = {...};
@ref@
position p;
identifier match.s;
@@
s@p
@good1@
identifier match.s;
expression list[5] es;
position ref.p;
@@
fb_find_mode(es,&s@p,...)
@bad depends on !good1@
position ref.p;
identifier match.s;
@@
s@p
@depends on forall !bad disable optional_qualifier@
identifier match.s;
@@
static
+ const
struct fb_videomode s;
Signed-off-by: Bhumika Goyal <[email protected]>
Cc: Julia Lawall <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Russell King <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
