commit | fbd29a14af42d374ddce9c16ff5f7805e69c764f | [log] [tgz] |
---|---|---|
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | Fri Nov 19 09:00:11 2010 -0800 |
committer | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | Fri Nov 26 11:29:02 2010 +0100 |
tree | 1f4df085215624430a3d093d010f464301535c23 | |
parent | 3561d43fd289f590fdae672e5eb831b8d5cf0bf6 [diff] |
spi/pxa2xx: register driver properly use platform_driver_register instead of platform_driver_probe. The latter only checks available devices at the time of calling. So if a device gets inserter at a later point in time then the driver will never play with it. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Dirk Brandewie <dirk.brandewie@gmail.com>