mirror of
https://github.com/torvalds/linux.git
synced 2024-09-24 08:53:09 +00:00
[SBUSFB] tcx: Use FB_BLANK_UNBLANK instead of magic constant.
From: Hareesh Nagarajan <hnagar2@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
806f7bf605
commit
2c27d4e530
|
@ -443,7 +443,7 @@ static void tcx_init_one(struct sbus_dev *sdev)
|
||||||
|
|
||||||
tcx_reset(&all->info);
|
tcx_reset(&all->info);
|
||||||
|
|
||||||
tcx_blank(0, &all->info);
|
tcx_blank(FB_BLANK_UNBLANK, &all->info);
|
||||||
|
|
||||||
if (fb_alloc_cmap(&all->info.cmap, 256, 0)) {
|
if (fb_alloc_cmap(&all->info.cmap, 256, 0)) {
|
||||||
printk(KERN_ERR "tcx: Could not allocate color map.\n");
|
printk(KERN_ERR "tcx: Could not allocate color map.\n");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user