|
@@ -192,11 +192,11 @@ static int init_device(struct device *dev)
|
|
|
* callback must check err and feedback in descriptor header
|
|
|
* for device processing status.
|
|
|
*/
|
|
|
-static int talitos_submit(struct device *dev, int ch, struct talitos_desc *desc,
|
|
|
- void (*callback)(struct device *dev,
|
|
|
- struct talitos_desc *desc,
|
|
|
- void *context, int error),
|
|
|
- void *context)
|
|
|
+int talitos_submit(struct device *dev, int ch, struct talitos_desc *desc,
|
|
|
+ void (*callback)(struct device *dev,
|
|
|
+ struct talitos_desc *desc,
|
|
|
+ void *context, int error),
|
|
|
+ void *context)
|
|
|
{
|
|
|
struct talitos_private *priv = dev_get_drvdata(dev);
|
|
|
struct talitos_request *request;
|
|
@@ -237,6 +237,7 @@ static int talitos_submit(struct device *dev, int ch, struct talitos_desc *desc,
|
|
|
|
|
|
return -EINPROGRESS;
|
|
|
}
|
|
|
+EXPORT_SYMBOL(talitos_submit);
|
|
|
|
|
|
/*
|
|
|
* process what was done, notify callback of error if not
|