return gb_operation_create_common(connection, type,
request_size, response_size);
}
+EXPORT_SYMBOL_GPL(gb_operation_create);
static struct gb_operation *
gb_operation_create_incoming(struct gb_connection *connection, u16 id,
if (!WARN_ON(!operation))
kref_put(&operation->kref, _gb_operation_destroy);
}
+EXPORT_SYMBOL_GPL(gb_operation_put);
/* Tell the requester we're done */
static void gb_operation_sync_callback(struct gb_operation *operation)
return gb_operation_result(operation);
}
+EXPORT_SYMBOL_GPL(gb_operation_request_send_sync);
/*
* Send a response for an incoming operation request. A non-zero
return ret;
}
+EXPORT_SYMBOL_GPL(gb_operation_sync);
int gb_operation_init(void)
{
return 0;
}
+EXPORT_SYMBOL_GPL(gb_protocol_register);
/*
* De-register a previously registered protocol.
return protocol && !protocol_count;
}
+EXPORT_SYMBOL_GPL(gb_protocol_deregister);
/* Returns the requested protocol if available, or a null pointer */
struct gb_protocol *gb_protocol_get(u8 id, u8 major, u8 minor)