Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324799
b: refs/heads/master
c: e801113
h: refs/heads/master
i:
  324797: 6f4797d
  324795: 651661a
  324791: 66cd8f5
  324783: 778b77a
  324767: 67b35ff
  324735: 970dc65
v: v3
  • Loading branch information
Jens Taprogge authored and Greg Kroah-Hartman committed Sep 4, 2012
1 parent 2d9e6ab commit d3a6042
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 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: 7db5e3cb91efbc8a0803dfdcc3a0c9cb43217df4
refs/heads/master: e80111354ac95cd0453e12caf9044938b7a78137
8 changes: 5 additions & 3 deletions trunk/drivers/staging/ipack/devices/ipoctal.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#define IP_OCTAL_ID_SPACE_VECTOR 0x41
#define IP_OCTAL_NB_BLOCKS 4

static struct ipack_driver driver;
static const struct tty_operations ipoctal_fops;

struct ipoctal {
Expand Down Expand Up @@ -846,15 +845,18 @@ static void ipoctal_remove(struct ipack_device *device)
}
}

static struct ipack_driver_ops ipoctal_drv_ops = {
static const struct ipack_driver_ops ipoctal_drv_ops = {
.match = ipoctal_match,
.probe = ipoctal_probe,
.remove = ipoctal_remove,
};

static struct ipack_driver driver = {
.ops = &ipoctal_drv_ops,
};

static int __init ipoctal_init(void)
{
driver.ops = &ipoctal_drv_ops;
return ipack_driver_register(&driver, THIS_MODULE, KBUILD_MODNAME);
}

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/ipack/ipack.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ struct ipack_driver_ops {
struct ipack_driver {
struct device_driver driver;
const struct ipack_device_id *id_table;
struct ipack_driver_ops *ops;
const struct ipack_driver_ops *ops;
};

/**
Expand Down

0 comments on commit d3a6042

Please sign in to comment.