Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141752
b: refs/heads/master
c: bc154a3
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Apr 3, 2009
1 parent e663f41 commit 242029f
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 441926795d77a3da1be99dca1720130cf46c728b
refs/heads/master: bc154a3862260ef8d83ff750daa1b6cfbfa129cc
8 changes: 4 additions & 4 deletions trunk/drivers/staging/heci/heci_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ static struct pci_driver heci_driver = {
/*
* file operations structure will be use heci char device.
*/
static struct file_operations heci_fops = {
static const struct file_operations heci_fops = {
.owner = THIS_MODULE,
.read = heci_read,
.ioctl = heci_ioctl,
Expand All @@ -195,7 +195,7 @@ static struct file_operations heci_fops = {
* returns 0 on success, <0 on failure.
*/
static int heci_registration_cdev(struct cdev *dev, int hminor,
struct file_operations *fops)
const struct file_operations *fops)
{
int ret, devno = MKDEV(heci_major, hminor);

Expand Down Expand Up @@ -625,7 +625,7 @@ static int heci_clear_list(struct iamt_heci_device *dev,
struct file *file, struct list_head *heci_cb_list)
{
struct heci_cb_private *priv_cb_pos = NULL;
struct heci_cb_private*priv_cb_next = NULL;
struct heci_cb_private *priv_cb_next = NULL;
struct file *file_temp;
int rets = 0;

Expand Down Expand Up @@ -846,7 +846,7 @@ static int heci_release(struct inode *inode, struct file *file)
}

if (heci_clear_lists(dev, file))
dev->iamthif_state = HECI_IAMTHIF_IDLE;
dev->iamthif_state = HECI_IAMTHIF_IDLE;

spin_unlock_bh(&dev->device_lock);
}
Expand Down

0 comments on commit 242029f

Please sign in to comment.