Basic syntax errors and other compilation errors fixed. Now to shoot for link-time errors (e.g. udelay etc.)