]> git.ipfire.org Git - people/arne_f/kernel.git/blame - arch/m68k/sun3/prom/init.c
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[people/arne_f/kernel.git] / arch / m68k / sun3 / prom / init.c
CommitLineData
b2441318 1// SPDX-License-Identifier: GPL-2.0
f30828a6 2/*
1da177e4
LT
3 * init.c: Initialize internal variables used by the PROM
4 * library functions.
5 *
6 * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
7 */
8
1da177e4
LT
9#include <linux/kernel.h>
10#include <linux/init.h>
11
12#include <asm/openprom.h>
13#include <asm/oplib.h>
14
15struct linux_romvec *romvec;
16enum prom_major_version prom_vers;
17unsigned int prom_rev, prom_prev;
18
19/* The root node of the prom device tree. */
20int prom_root_node;
21
22/* Pointer to the device tree operations structure. */
23struct linux_nodeops *prom_nodeops;
24
25/* You must call prom_init() before you attempt to use any of the
d670b479
GU
26 * routines in the prom library.
27 * It gets passed the pointer to the PROM vector.
1da177e4
LT
28 */
29
1da177e4
LT
30void __init prom_init(struct linux_romvec *rp)
31{
1da177e4 32 romvec = rp;
1da177e4
LT
33
34 /* Initialization successful. */
35 return;
36}