Skip to content
Snippets Groups Projects
Commit fba878ca authored by Alessandro Rubini's avatar Alessandro Rubini
Browse files

fmc ops: fixed a prototype

parent 7f6160f0
Branches
Tags
No related merge requests found
......@@ -183,7 +183,7 @@ this document):
@smallexample
struct fmc_operations {
uint32_t (*readl)(struct fmc_device *fmc, int offset);
void (*writel)(struct fmc_device *fmc, int offset, uint32_t value);
void (*writel)(struct fmc_device *fmc, uint32_t value, int offset);
int (*reprogram)(struct fmc_device *fmc, void *data, int len);
int (*irq_request)(struct fmc_device *fmc, irq_handler_t h,
char *name, int flags);
......
......@@ -34,7 +34,7 @@ struct fmc_driver {
/* To be carrier-independent, we need to abstract hardware access */
struct fmc_operations {
uint32_t (*readl)(struct fmc_device *fmc, int offset);
void (*writel)(struct fmc_device *fmc, int offset, uint32_t value);
void (*writel)(struct fmc_device *fmc, uint32_t value, int offset);
int (*reprogram)(struct fmc_device *fmc, void *data, int len);
int (*irq_request)(struct fmc_device *fmc, irq_handler_t h,
char *name, int flags);
......
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