patch-2.3.18 linux/drivers/macintosh/mediabay.c

Next file: linux/drivers/net/3c501.c
Previous file: linux/drivers/macintosh/macserial.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.17/linux/drivers/macintosh/mediabay.c linux/drivers/macintosh/mediabay.c
@@ -98,9 +98,7 @@
  * Therefore we do it all by polling the media bay once each tick.
  */
 
-__pmac /* I don't know of any chrp with a mediabay -- Cort */
-
-void
+void __pmac
 media_bay_init(void)
 {
 	struct device_node *np;
@@ -174,7 +172,7 @@
 }
 #endif
 
-int
+int __pmac
 check_media_bay(struct device_node *which_bay, int what)
 {
 #ifdef CONFIG_BLK_DEV_IDE
@@ -192,7 +190,7 @@
 	return -ENODEV;
 }
 
-int
+int __pmac
 check_media_bay_by_base(unsigned long base, int what)
 {
 #ifdef CONFIG_BLK_DEV_IDE
@@ -211,7 +209,7 @@
 	return -ENODEV;
 }
 
-int
+int __pmac
 media_bay_set_ide_infos(struct device_node* which_bay, unsigned long base,
 	int irq, int index)
 {
@@ -238,7 +236,7 @@
  * with the IDE driver.  It needs to be a thread because
  * ide_register can't be called from interrupt context.
  */
-int
+int __pmac
 media_bay_task(void *x)
 {
 	volatile struct media_bay_info* bay;
@@ -294,7 +292,7 @@
 	}
 }
 
-void
+void __pmac
 poll_media_bay(int which)
 {
 	int id = MB_CONTENTS(which);
@@ -309,7 +307,7 @@
 	}
 }
 
-static void
+static void __pmac
 set_media_bay(int which, int id)
 {
 	volatile struct media_bay_info* bay;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)