diff options
author | Justin Waters <justin.waters@timesys.com> | 2008-02-26 13:07:02 -0500 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2008-02-26 13:07:02 -0500 |
commit | b80a32b9cc634adfa8eaef33ec981e7febf2ade2 (patch) | |
tree | f256bce13ba11f514a388160df84e1410bedbe2b /drivers/mxc/vpu/mxc_vpu.c | |
parent | 594133ef22fae0d737bd1b57352cf3f48a192c63 (diff) |
Update the i.MX31 Kernel to 2.6.232.6.23-mx31ads-2008022618072.6.23-mx31-200802261807
This is the result of a brute-force attempt to update the kernel to 2.6.23.
Now that we have a git tree, our effort will be a little nicer in the future.
Signed-off-by: Justin Waters <justin.waters@timesys.com>
Diffstat (limited to 'drivers/mxc/vpu/mxc_vpu.c')
-rw-r--r-- | drivers/mxc/vpu/mxc_vpu.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/mxc/vpu/mxc_vpu.c b/drivers/mxc/vpu/mxc_vpu.c index b5a7538809a4..b78edea38c87 100644 --- a/drivers/mxc/vpu/mxc_vpu.c +++ b/drivers/mxc/vpu/mxc_vpu.c @@ -497,11 +497,7 @@ static void __exit vpu_exit(void) if (vpu_major > 0) { class_device_destroy(vpu_class, MKDEV(vpu_major, 0)); class_destroy(vpu_class); - if (unregister_chrdev(vpu_major, "mxc_vpu") < 0) { - printk(KERN_ERR - "Failed to unregister vpu from devfs\n"); - return; - } + unregister_chrdev(vpu_major, "mxc_vpu"); vpu_major = 0; } |