Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67422
b: refs/heads/master
c: 8b70da1
h: refs/heads/master
v: v3
  • Loading branch information
Cyrill Gorcunov authored and Paul Mackerras committed Oct 3, 2007
1 parent e77f05b commit 1563886
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 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: 5f725fe92cc2e75892b237e863d5f695fb634bb2
refs/heads/master: 8b70da1a094fb781d49a811fd2368907adc92b8d
21 changes: 9 additions & 12 deletions trunk/drivers/misc/hdpuftrs/hdpu_cpustate.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,21 +170,18 @@ static struct platform_driver hdpu_cpustate_driver = {
* The various file operations we support.
*/
static const struct file_operations cpustate_fops = {
owner: THIS_MODULE,
open: cpustate_open,
release: cpustate_release,
read: cpustate_read,
write: cpustate_write,
fasync: NULL,
poll: NULL,
ioctl: NULL,
llseek: no_llseek,
.owner = THIS_MODULE,
.open = cpustate_open,
.release = cpustate_release,
.read = cpustate_read,
.write = cpustate_write,
.llseek = no_llseek,
};

static struct miscdevice cpustate_dev = {
MISC_DYNAMIC_MINOR,
"sky_cpustate",
&cpustate_fops,
.minor = MISC_DYNAMIC_MINOR,
.name = "sky_cpustate",
.fops = &cpustate_fops,
};

static int hdpu_cpustate_probe(struct platform_device *pdev)
Expand Down

0 comments on commit 1563886

Please sign in to comment.