Commit 21f641ac authored by Kai Germaschewski's avatar Kai Germaschewski

Fix dummy gameport_{,un}register_port

Needs static, otherwise one gets multiple definitions in the final
vmlinux image.
parent 04d1f1a5
...@@ -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