diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-18 12:39:35 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-18 12:39:35 -0800 |
commit | 19d96d5d584a64997f75e131f91f40ff287e3492 (patch) | |
tree | f59e44a4aa1ee27fb537c0e6cc3f90bfd14e09b0 /driver | |
parent | 7695771e986729e6eae9fac3657668fbf01b19b1 (diff) | |
download | patches-19d96d5d584a64997f75e131f91f40ff287e3492.tar.gz |
add patch
Diffstat (limited to 'driver')
-rw-r--r-- | driver/empty_release_functions_are_broken.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/driver/empty_release_functions_are_broken.patch b/driver/empty_release_functions_are_broken.patch new file mode 100644 index 0000000000000..f22920e529fae --- /dev/null +++ b/driver/empty_release_functions_are_broken.patch @@ -0,0 +1,32 @@ +From: Greg Kroah-Hartman <gregkh@suse.de> +Subject: Mark empty release functions as broken + +Come on people, this is just wrong... + +Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> + +--- + drivers/video/epson1355fb.c | 1 + + drivers/video/vfb.c | 1 + + 2 files changed, 2 insertions(+) + +--- gregkh-2.6.orig/drivers/video/epson1355fb.c ++++ gregkh-2.6/drivers/video/epson1355fb.c +@@ -607,6 +607,7 @@ static void clearfb16(struct fb_info *in + + static void epson1355fb_platform_release(struct device *device) + { ++ dev_err(device, "This driver is broken, please bug the authors so they will fix it.\n"); + } + + static int epson1355fb_remove(struct platform_device *dev) +--- gregkh-2.6.orig/drivers/video/vfb.c ++++ gregkh-2.6/drivers/video/vfb.c +@@ -401,6 +401,7 @@ static int __init vfb_setup(char *option + static void vfb_platform_release(struct device *device) + { + // This is called when the reference count goes to zero. ++ dev_err(device, "This driver is broken, please bug the authors so they will fix it.\n"); + } + + static int __init vfb_probe(struct platform_device *dev) |