|
@@ -46,31 +46,31 @@ int i8042_remove_filter(bool (*filter)(unsigned char data, unsigned char str,
|
|
|
|
|
|
#else
|
|
|
|
|
|
-void i8042_lock_chip(void)
|
|
|
+static inline void i8042_lock_chip(void)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
-void i8042_unlock_chip(void)
|
|
|
+static inline void i8042_unlock_chip(void)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
-int i8042_command(unsigned char *param, int command)
|
|
|
+static inline int i8042_command(unsigned char *param, int command)
|
|
|
{
|
|
|
return -ENODEV;
|
|
|
}
|
|
|
|
|
|
-bool i8042_check_port_owner(const struct serio *serio)
|
|
|
+static inline bool i8042_check_port_owner(const struct serio *serio)
|
|
|
{
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
-int i8042_install_filter(bool (*filter)(unsigned char data, unsigned char str,
|
|
|
+static inline int i8042_install_filter(bool (*filter)(unsigned char data, unsigned char str,
|
|
|
struct serio *serio))
|
|
|
{
|
|
|
return -ENODEV;
|
|
|
}
|
|
|
|
|
|
-int i8042_remove_filter(bool (*filter)(unsigned char data, unsigned char str,
|
|
|
+static inline int i8042_remove_filter(bool (*filter)(unsigned char data, unsigned char str,
|
|
|
struct serio *serio))
|
|
|
{
|
|
|
return -ENODEV;
|