*
*/
+/* make checkconfig does not check included files... */
#include <linux/config.h>
#include <linux/version.h>
#include <asm/uaccess.h>
#ifdef CONFIG_PPC_PMAC
-#include <asm/machdep.h>
unsigned char nvram_read_byte(int);
static int default_vmode = VMODE_NVRAM;
static int default_cmode = CMODE_NVRAM;
/* FIXME: Where to move this?! */
#if defined(CONFIG_PPC_PMAC)
#ifndef MODULE
- if (machine_is(powermac)) {
+ if (_machine == _MACH_Pmac) {
struct fb_var_screeninfo var;
if (default_vmode <= 0 || default_vmode > VMODE_MAX)
default_vmode = VMODE_640_480_60;