2.5.50 mpu401.h compilation error patches

2.5.50 mpu401.h compilation error patches

Post by Andrei Darashenk » Thu, 05 Dec 2002 19:00:23



Hi,

I just tried to compile 2.5.50 and found compilation error on mpu401.c

Following patch syncronize mpu401.c and mpu401.h

diff -ur linux-2.5.50/sound/oss/mpu401.h linux-2.5.50-new/sound/oss/mpu401.h
--- linux-2.5.50/sound/oss/mpu401.h     2002-12-04 18:48:07.000000000 +0200

 /*     From mpu401.c */
 int probe_mpu401(struct address_info *hw_config);
-void attach_mpu401(struct address_info * hw_config, struct module *owner);
+int attach_mpu401(struct address_info * hw_config, struct module *owner);
 void unload_mpu401(struct address_info *hw_info);

 int intchk_mpu401(void *dev_id);

--

Regards,
Andrei

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. Compile errors in 2.5.50 (bttv, mpu401, fb)

Hi all:

I tried 2.5.50 yesterday and encountered three compile errors. One of them
(bttv-driver) was already discussed here, I know nothing about the other
two.

Sorry if it was already reported, I do not read the mailing list very
carefuly. :-)

Also sorry that I have no time now to make patches. And, in fact, I am not
able to do so (excpet the second one VERY SIMPLE case), since I do not
know what the source should be.

1) drivers/media/video/bttv-cards.c - AUDC_CONFIG_PINNACLE constant
- already known and patched!

2) sound/oss/mpu401.h - line #10
return type of the function is void in the header but should be int
according the actual source file

3) include/video/fbcon.h - line #666 (and neighbouring)
non-existant members of struct display are referenced

Good luck...
   - M -

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Getting a _really_ old terminal to work via serial

3. Patch/resubmit(2.5.50): Use struct io_restrictions in blkdev.h

4. Setting IPFW rules

5. Patch/resubmit(2.5.50): Eliminate pci_dev.driver_data

6. Nice helpful terminal & aliased fonts...

7. [0/4] patch series vs. 2.5.50-mm1

8. Real-time port 80 activity monitor, using graphs in console mode?

9. module loading 2.5.50 + nvidia patch

10. 2.5.50 conglomerate module fixes patch

11. tridentfb.c error kernel 2.5.50

12. error compiling 2.5.50

13. Dell i8k was: Re: [2.5.50, ACPI] link error