Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130431
b: refs/heads/master
c: 4d187a8
h: refs/heads/master
i:
  130429: d7151e8
  130427: ff3f07a
  130423: 81f5669
  130415: 32bdaef
  130399: a229dfd
  130367: 24560e5
  130303: 28db0b7
v: v3
  • Loading branch information
Jan Engelhardt authored and Artem Bityutskiy committed Jan 18, 2009
1 parent 1c5dc7e commit bc30172
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 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: ade44ce07c9316351ae321051221c9bad3af3a44
refs/heads/master: 4d187a88d3ee3be6a1a0b6859eb00f70e1601b5e
6 changes: 3 additions & 3 deletions trunk/drivers/mtd/ubi/cdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1025,20 +1025,20 @@ static int ctrl_cdev_ioctl(struct inode *inode, struct file *file,
}

/* UBI control character device operations */
struct file_operations ubi_ctrl_cdev_operations = {
const struct file_operations ubi_ctrl_cdev_operations = {
.ioctl = ctrl_cdev_ioctl,
.owner = THIS_MODULE,
};

/* UBI character device operations */
struct file_operations ubi_cdev_operations = {
const struct file_operations ubi_cdev_operations = {
.owner = THIS_MODULE,
.ioctl = ubi_cdev_ioctl,
.llseek = no_llseek,
};

/* UBI volume character device operations */
struct file_operations ubi_vol_cdev_operations = {
const struct file_operations ubi_vol_cdev_operations = {
.owner = THIS_MODULE,
.open = vol_cdev_open,
.release = vol_cdev_release,
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/mtd/ubi/ubi.h
Original file line number Diff line number Diff line change
Expand Up @@ -449,9 +449,9 @@ struct ubi_device {
};

extern struct kmem_cache *ubi_wl_entry_slab;
extern struct file_operations ubi_ctrl_cdev_operations;
extern struct file_operations ubi_cdev_operations;
extern struct file_operations ubi_vol_cdev_operations;
extern const struct file_operations ubi_ctrl_cdev_operations;
extern const struct file_operations ubi_cdev_operations;
extern const struct file_operations ubi_vol_cdev_operations;
extern struct class *ubi_class;
extern struct mutex ubi_devices_mutex;

Expand Down

0 comments on commit bc30172

Please sign in to comment.