[PATCH] fix vlsi_ir.c compile if !CONFIG_PROC_FS
On Mon, 9 Jun 2003, Jean Tourrilhes wrote: > > Yes, Thanks. In fact walking over the proc-stuff in vlsi_ir, there are > > some more places which need cleanup and fixing. > > > > Jean, please apply the patch below - ChangeLog: > > Would you mind sending it also to Jeff ? I want you to be able > to work without depending on me. > But I'll add that on my todo list anyway... Ok - here we go. Slightly improved patch compared to what I've sent first so we handle now failure in create_proc_entry and !CONFIG_PROC_FS identical, i.e. continue without proc entry. It's not needed for the driver to work. Updated Changelog: * make it compile without CONFIG_PROC_FS (problem reported by Adrian Bunk, original patch by Sam Ravnborg) * get rid of a number of unneeded ifdef/endif CONFIG_PROC_FS (also removing an "unused label" warning) * use proc entrys' owner fields to protect against module removal racing with proc entry access. * handle failure in create_proc_entry like !CONFIG_PROC_FS * set driver version 0.4a Jeff, would please forward it for application to 2.5! Martin
Showing
Please register or sign in to comment