Commit fa2ece9f authored by Kai Germaschewski's avatar Kai Germaschewski

Merge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5

into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.misc
parents d9a704ee 0cb2712f
...@@ -243,9 +243,9 @@ static struct device device_i8259A = { ...@@ -243,9 +243,9 @@ static struct device device_i8259A = {
bus_id: "0020", bus_id: "0020",
}; };
static void __init init_8259A_devicefs(void) static int __init init_8259A_devicefs(void)
{ {
register_sys_device(&device_i8259A); return register_sys_device(&device_i8259A);
} }
__initcall(init_8259A_devicefs); __initcall(init_8259A_devicefs);
......
...@@ -637,13 +637,14 @@ static unsigned long __init calibrate_tsc(void) ...@@ -637,13 +637,14 @@ static unsigned long __init calibrate_tsc(void)
return 0; return 0;
} }
static struct device device_i8253; static struct device device_i8253 = {
name: "i8253",
bus_id: "0040",
};
static void time_init_driverfs(void) static int time_init_driverfs(void)
{ {
strcpy(device_i8253.name, "i8253"); return register_sys_device(&device_i8253);
strcpy(device_i8253.bus_id, "0040");
register_sys_device(&device_i8253);
} }
__initcall(time_init_driverfs); __initcall(time_init_driverfs);
......
...@@ -118,7 +118,7 @@ __asm__( ...@@ -118,7 +118,7 @@ __asm__(
" pushl %ecx \n" " pushl %ecx \n"
" pushl %ebx \n" " pushl %ebx \n"
" pushl %eax \n" " pushl %eax \n"
" lcallw pnp_bios_callpoint\n" " lcallw *pnp_bios_callpoint\n"
" addl $16, %esp \n" " addl $16, %esp \n"
" lret \n" " lret \n"
".previous \n" ".previous \n"
......
...@@ -79,8 +79,8 @@ void gameport_rescan(struct gameport *gameport); ...@@ -79,8 +79,8 @@ void gameport_rescan(struct gameport *gameport);
void gameport_register_port(struct gameport *gameport); void gameport_register_port(struct gameport *gameport);
void gameport_unregister_port(struct gameport *gameport); void gameport_unregister_port(struct gameport *gameport);
#else #else
void __inline__ gameport_register_port(struct gameport *gameport) { return; } static inline void gameport_register_port(struct gameport *gameport) { return; }
void __inline__ gameport_unregister_port(struct gameport *gameport) { return; } static inline void gameport_unregister_port(struct gameport *gameport) { return; }
#endif #endif
void gameport_register_device(struct gameport_dev *dev); void gameport_register_device(struct gameport_dev *dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment