summaryrefslogtreecommitdiffstats
path: root/drivers/video/via
diff options
context:
space:
mode:
authorPeter Huewe <peterhuewe@gmx.de>2012-05-04 00:14:55 +0200
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2012-05-08 16:58:27 +0000
commitc1f58f1e1e5596f9377ae8839500f56677b3d0b7 (patch)
tree0c9427cbd5b58b2f44539555490ce88e8a29c131 /drivers/video/via
parent3d7e5a9b15bcf832260831176f1f7001f104d38b (diff)
video/sis: Annotate SiS_DRAMType as __devinitconst
SiS_DRAMType is const and only used by sisfb_post_300_rwtest which is marked __devinit we can annotate SiS_DRAMType with __devinitconst and move it into the file scope in order to not have it created on the stack. This patch decreases the compiled module size by about 100bytes. And since hardcoded values are bad we use ARRAY_SIZE for determining the size of SiS_DRAMType ;) Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/via')
0 files changed, 0 insertions, 0 deletions