License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-2.6-block.git] / arch / arm / include / asm / vga.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
1da177e4
LT
2#ifndef ASMARM_VGA_H
3#define ASMARM_VGA_H
4
fced80c7 5#include <linux/io.h>
1da177e4 6
cc22b4c1
RH
7extern unsigned long vga_base;
8
9#define VGA_MAP_MEM(x,s) (vga_base + (x))
1da177e4
LT
10
11#define vga_readb(x) (*((volatile unsigned char *)x))
12#define vga_writeb(x,y) (*((volatile unsigned char *)y) = (x))
13
14#endif