| .. | .. |
|---|
| 47 | 47 | int xsaw_secondary, ysaw_secondary; /* jumpiness detection */ |
|---|
| 48 | 48 | }; |
|---|
| 49 | 49 | |
|---|
| 50 | | -#ifdef CONFIG_MOUSE_PS2_OLPC |
|---|
| 51 | | -void hgpk_module_init(void); |
|---|
| 52 | 50 | int hgpk_detect(struct psmouse *psmouse, bool set_properties); |
|---|
| 53 | 51 | int hgpk_init(struct psmouse *psmouse); |
|---|
| 52 | + |
|---|
| 53 | +#ifdef CONFIG_MOUSE_PS2_OLPC |
|---|
| 54 | +void hgpk_module_init(void); |
|---|
| 54 | 55 | #else |
|---|
| 55 | 56 | static inline void hgpk_module_init(void) |
|---|
| 56 | 57 | { |
|---|
| 57 | | -} |
|---|
| 58 | | -static inline int hgpk_detect(struct psmouse *psmouse, bool set_properties) |
|---|
| 59 | | -{ |
|---|
| 60 | | - return -ENODEV; |
|---|
| 61 | | -} |
|---|
| 62 | | -static inline int hgpk_init(struct psmouse *psmouse) |
|---|
| 63 | | -{ |
|---|
| 64 | | - return -ENODEV; |
|---|
| 65 | 58 | } |
|---|
| 66 | 59 | #endif |
|---|
| 67 | 60 | |
|---|