ACPI: catch calls of acpi_driver_data on pointer of wrong type
authorPavel Machek <pavel@suse.cz>
Mon, 22 Sep 2008 21:37:34 +0000 (14:37 -0700)
committerLen Brown <len.brown@intel.com>
Fri, 10 Oct 2008 22:05:53 +0000 (18:05 -0400)
Catch attempts to use of acpi_driver_data on pointers of wrong type.

akpm: rewritten to use proper C typechecking and remove the
"function"-used-as-lvalue thing.

Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>

No differences found