Commit 29666128 authored by Roland Dreier's avatar Roland Dreier

RDMA/amso1100: Fix section mismatches

The amso1100 driver was missing a couple of __devinit/__devexit
annotations for init/cleanup functions that are called from
__devinit/__devexit functions.

Reported by Randy Dunlap <randy.dunlap@oracle.com>.
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent f4f3d0f0
...@@ -441,7 +441,7 @@ static int c2_rnic_close(struct c2_dev *c2dev) ...@@ -441,7 +441,7 @@ static int c2_rnic_close(struct c2_dev *c2dev)
* involves initalizing the various limits and resouce pools that * involves initalizing the various limits and resouce pools that
* comprise the RNIC instance. * comprise the RNIC instance.
*/ */
int c2_rnic_init(struct c2_dev *c2dev) int __devinit c2_rnic_init(struct c2_dev *c2dev)
{ {
int err; int err;
u32 qsize, msgsize; u32 qsize, msgsize;
...@@ -611,7 +611,7 @@ int c2_rnic_init(struct c2_dev *c2dev) ...@@ -611,7 +611,7 @@ int c2_rnic_init(struct c2_dev *c2dev)
/* /*
* Called by c2_remove to cleanup the RNIC resources. * Called by c2_remove to cleanup the RNIC resources.
*/ */
void c2_rnic_term(struct c2_dev *c2dev) void __devexit c2_rnic_term(struct c2_dev *c2dev)
{ {
/* Close the open adapter instance */ /* Close the open adapter instance */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment