spidev: add proper section markers
authorMike Frysinger <vapier@gentoo.org>
Mon, 14 Dec 2009 22:20:22 +0000 (14:20 -0800)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 17 Dec 2009 15:39:12 +0000 (08:39 -0700)
commitdb389b6143c895d23060179b14928f63d44285a2
tree455cffefc259a833374be4ea4b7c4397efc75d69
parent8ae1c9248042c5122f9628282f41c363c9610dd7
spidev: add proper section markers

The driver already uses __devexit_p() in the structure, but looks like
actual __dev{init,exit} markings were forgotten.

The spidev_spi driver also needs renaming to include a "_driver" suffix to
avoid section mismatch warnings.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spidev.c