diff options
author | Jon Loeliger <linuxppc@jdl.com> | 2005-09-17 11:36:54 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-09-18 19:38:49 -0400 |
commit | aacaf9bd9646f6f611a08fca976411b6e5ddefe2 (patch) | |
tree | 604853646cc176c0a0908db39f254285121fa50c /drivers/macintosh/ans-lcd.c | |
parent | f495a8bfd6a52cf32859f93d5320bb234d8a9560 (diff) |
[PATCH] powerpc: Remove sections use from ppc64 and drivers
Here is a new patch that removes all notion of the pmac, prep,
chrp and openfirmware initialization sections, and then unifies
the sections.h files without those __pmac, etc, sections identifiers
cluttering things up.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers/macintosh/ans-lcd.c')
-rw-r--r-- | drivers/macintosh/ans-lcd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/macintosh/ans-lcd.c b/drivers/macintosh/ans-lcd.c index 5e0811dc6536..2b8a6e821d44 100644 --- a/drivers/macintosh/ans-lcd.c +++ b/drivers/macintosh/ans-lcd.c | |||
@@ -27,7 +27,7 @@ static volatile unsigned char __iomem *anslcd_ptr; | |||
27 | 27 | ||
28 | #undef DEBUG | 28 | #undef DEBUG |
29 | 29 | ||
30 | static void __pmac | 30 | static void |
31 | anslcd_write_byte_ctrl ( unsigned char c ) | 31 | anslcd_write_byte_ctrl ( unsigned char c ) |
32 | { | 32 | { |
33 | #ifdef DEBUG | 33 | #ifdef DEBUG |
@@ -43,14 +43,14 @@ anslcd_write_byte_ctrl ( unsigned char c ) | |||
43 | } | 43 | } |
44 | } | 44 | } |
45 | 45 | ||
46 | static void __pmac | 46 | static void |
47 | anslcd_write_byte_data ( unsigned char c ) | 47 | anslcd_write_byte_data ( unsigned char c ) |
48 | { | 48 | { |
49 | out_8(anslcd_ptr + ANSLCD_DATA_IX, c); | 49 | out_8(anslcd_ptr + ANSLCD_DATA_IX, c); |
50 | udelay(anslcd_short_delay); | 50 | udelay(anslcd_short_delay); |
51 | } | 51 | } |
52 | 52 | ||
53 | static ssize_t __pmac | 53 | static ssize_t |
54 | anslcd_write( struct file * file, const char __user * buf, | 54 | anslcd_write( struct file * file, const char __user * buf, |
55 | size_t count, loff_t *ppos ) | 55 | size_t count, loff_t *ppos ) |
56 | { | 56 | { |
@@ -73,7 +73,7 @@ anslcd_write( struct file * file, const char __user * buf, | |||
73 | return p - buf; | 73 | return p - buf; |
74 | } | 74 | } |
75 | 75 | ||
76 | static int __pmac | 76 | static int |
77 | anslcd_ioctl( struct inode * inode, struct file * file, | 77 | anslcd_ioctl( struct inode * inode, struct file * file, |
78 | unsigned int cmd, unsigned long arg ) | 78 | unsigned int cmd, unsigned long arg ) |
79 | { | 79 | { |
@@ -115,7 +115,7 @@ anslcd_ioctl( struct inode * inode, struct file * file, | |||
115 | } | 115 | } |
116 | } | 116 | } |
117 | 117 | ||
118 | static int __pmac | 118 | static int |
119 | anslcd_open( struct inode * inode, struct file * file ) | 119 | anslcd_open( struct inode * inode, struct file * file ) |
120 | { | 120 | { |
121 | return 0; | 121 | return 0; |