···180180 }181181}182182183183-static inline unsigned int184184-ps2_test_one(struct ps2if *ps2if, unsigned int mask)183183+static unsigned int __devinit ps2_test_one(struct ps2if *ps2if,184184+ unsigned int mask)185185{186186 unsigned int val;187187···197197 * Test the keyboard interface. We basically check to make sure that198198 * we can drive each line to the keyboard independently of each other.199199 */200200-static int __init ps2_test(struct ps2if *ps2if)200200+static int __devinit ps2_test(struct ps2if *ps2if)201201{202202 unsigned int stat;203203 int ret = 0;···312312/*313313 * Remove one device from this driver.314314 */315315-static int ps2_remove(struct sa1111_dev *dev)315315+static int __devexit ps2_remove(struct sa1111_dev *dev)316316{317317 struct ps2if *ps2if = sa1111_get_drvdata(dev);318318···335335 },336336 .devid = SA1111_DEVID_PS2,337337 .probe = ps2_probe,338338- .remove = ps2_remove,338338+ .remove = __devexit_p(ps2_remove),339339};340340341341static int __init ps2_init(void)