mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[POWERPC] Copy over headers from arch/ppc to arch/powerpc that we need
To build arch/powerpc without including asm-ppc/ we need these files in asm-powerpc/ Moved some headers under arch/powerpc/platforms if they were only used by platform or driver files and fixed up the source file includes to match the new locations Signed-off-by: Kumar Gala <[email protected]>
This commit is contained in:
parent
ed16c20da6
commit
33d71d26ba
16 changed files with 3886 additions and 5 deletions
|
|
@ -14,9 +14,10 @@
|
|||
#include <asm/uaccess.h>
|
||||
#include <asm/sections.h>
|
||||
#include <asm/prom.h>
|
||||
#include <asm/ans-lcd.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
#include "ans-lcd.h"
|
||||
|
||||
#define ANSLCD_ADDR 0xf301c000
|
||||
#define ANSLCD_CTRL_IX 0x00
|
||||
#define ANSLCD_DATA_IX 0x10
|
||||
|
|
|
|||
11
drivers/macintosh/ans-lcd.h
Normal file
11
drivers/macintosh/ans-lcd.h
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#ifndef _PPC_ANS_LCD_H
|
||||
#define _PPC_ANS_LCD_H
|
||||
|
||||
#define ANSLCD_MINOR 156
|
||||
|
||||
#define ANSLCD_CLEAR 0x01
|
||||
#define ANSLCD_SENDCTRL 0x02
|
||||
#define ANSLCD_SETSHORTDELAY 0x03
|
||||
#define ANSLCD_SETLONGDELAY 0x04
|
||||
|
||||
#endif
|
||||
Loading…
Reference in a new issue