summaryrefslogtreecommitdiff
path: root/drivers/media/mc
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-09-05 15:05:32 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-10-01 12:25:44 -0300
commit36909b552d0ea960732bc1450186f3e738bc41fc (patch)
treec4e22a8fe1b2b1af4f59d30d65d105e048c66b54 /drivers/media/mc
parent54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c (diff)
media: i2c: mt9m001: make array init_regs static, makes object smaller
Don't populate the array init_regs on the stack but instead make it static. Makes the object code smaller by 57 bytes. Before: text data bss dec hex filename 15935 3600 128 19663 4ccf drivers/media/i2c/mt9m001.o After: text data bss dec hex filename 15782 3696 128 19606 4c96 drivers/media/i2c/mt9m001.o (gcc version 9.2.1, amd64) Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/mc')
0 files changed, 0 insertions, 0 deletions