]> git.pld-linux.org Git - packages/kernel.git/commitdiff
- symbold needed on ppc
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 3 Jul 2003 17:02:27 +0000 (17:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    linux-2.4.20-EXPORT_SYMBOL.patch -> 1.10

linux-2.4.20-EXPORT_SYMBOL.patch

index 0cd10f13e60a9bb63b802659aa73448868bc5691..bada5915bd5b4ecca311422829ca6926e4823cf5 100644 (file)
 diff -urN linux-2.4.20/arch/ppc/kernel/ppc_ksyms.c linux-2.4.20-o1-preempt/arch/ppc/kernel/ppc_ksyms.c
 --- linux-2.4.20/arch/ppc/kernel/ppc_ksyms.c   Fri Nov 29 00:53:11 2002
 +++ linux-2.4.20-o1-preempt/arch/ppc/kernel/ppc_ksyms.c        Tue Feb 18 03:51:29 2003
+@@ -236,6 +236,7 @@
+ #ifdef CONFIG_PMAC_BACKLIGHT
+ EXPORT_SYMBOL(get_backlight_level);
+ EXPORT_SYMBOL(set_backlight_level);
++EXPORT_SYMBOL(get_backlight_enable);
+ EXPORT_SYMBOL(set_backlight_enable);
+ EXPORT_SYMBOL(register_backlight_controller);
+ #endif /* CONFIG_PMAC_BACKLIGHT */
 @@ -366,3 +366,4 @@
  EXPORT_SYMBOL_NOVERS(agp_special_page);
  #endif /* defined(CONFIG_ALL_PPC) */
  
 +EXPORT_SYMBOL(ioremap_bot);
+--- linux-2.4.21/drivers/video/Makefile.orig   Thu Jul  3 18:13:51 2003
++++ linux-2.4.21/drivers/video/Makefile        Thu Jul  3 18:13:33 2003
+@@ -15,7 +15,7 @@
+                 fbcon-iplan2p8.o fbcon-vga-planes.o fbcon-cfb16.o \
+                 fbcon-cfb2.o fbcon-cfb24.o fbcon-cfb32.o fbcon-cfb4.o \
+                 fbcon-cfb8.o fbcon-mac.o fbcon-mfb.o \
+-                cyber2000fb.o sa1100fb.o fbcon-hga.o fbgen.o
++                cyber2000fb.o sa1100fb.o fbcon-hga.o fbgen.o macmodes.o
+ # Each configuration option enables a list of files.
+--- linux-2.4.21/drivers/video/macmodes.c.orig Thu Jul  3 18:08:15 2003
++++ linux-2.4.21/drivers/video/macmodes.c      Thu Jul  3 18:33:48 2003
+@@ -19,6 +19,7 @@
+ #include <linux/errno.h>
+ #include <linux/fb.h>
+ #include <linux/string.h>
++#include <linux/module.h>
+ #ifdef CONFIG_FB_COMPAT_XPMAC
+ #include <asm/vc_ioctl.h>
+@@ -211,6 +212,9 @@
+ struct fb_info *console_fb_info = NULL;
+ struct vc_mode display_info;
++EXPORT_SYMBOL(console_fb_info);
++EXPORT_SYMBOL(display_info);
++
+ static u16 palette_red[16];
+ static u16 palette_green[16];
+ static u16 palette_blue[16];
+@@ -453,7 +457,7 @@
+     return 0;
+ }
+-
++EXPORT_SYMBOL(mac_vmode_to_var);
+ /**
+  *    mac_var_to_vmode - convert var structure to MacOS vmode/cmode pair
+  *    @var: frame buffer video mode structure
+@@ -498,7 +502,7 @@
+     return -EINVAL;
+ }
+-
++EXPORT_SYMBOL(mac_var_to_vmode);
+ /**
+  *    mac_map_monitor_sense - Convert monitor sense to vmode
+  *    @sense: Macintosh monitor sense number
+@@ -541,7 +545,7 @@
+  *
+  */
+-int __init mac_find_mode(struct fb_var_screeninfo *var, struct fb_info *info,
++int mac_find_mode(struct fb_var_screeninfo *var, struct fb_info *info,
+                        const char *mode_option, unsigned int default_bpp)
+ {
+     const struct fb_videomode *db = NULL;
+@@ -554,3 +558,4 @@
+     return fb_find_mode(var, info, mode_option, db, dbsize,
+                       &mac_modedb[DEFAULT_MODEDB_INDEX], default_bpp);
+ }
++EXPORT_SYMBOL(mac_find_mode);
This page took 3.06432 seconds and 4 git commands to generate.