Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318392
b: refs/heads/master
c: 865d506
h: refs/heads/master
v: v3
  • Loading branch information
Horia Geanta authored and Herbert Xu committed Jul 11, 2012
1 parent ab78aaa commit 6477a6f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d1a0eb98e7a8b7e244e31430fdb1a752243e2698
refs/heads/master: 865d506155b117edc7e668ced373030ce7108ce9
11 changes: 6 additions & 5 deletions trunk/drivers/crypto/talitos.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions trunk/drivers/crypto/talitos.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,12 @@ struct talitos_private {
struct hwrng rng;
};

extern 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);

/* .features flag */
#define TALITOS_FTR_SRC_LINK_TBL_LEN_INCLUDES_EXTENT 0x00000001
#define TALITOS_FTR_HW_AUTH_CHECK 0x00000002
Expand Down

0 comments on commit 6477a6f

Please sign in to comment.