From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Revell Subject: serialmidi change breaks build on 2.6.10-rc2-mm2 Date: Tue, 23 Nov 2004 18:31:02 -0500 Message-ID: <1101252663.5207.7.camel@krustophenia.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel List-Id: alsa-devel@alsa-project.org Rather than fixing anything this change actually broke compilation on my kernel. Is this change only in the latest rc or Linus' BK tree? +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 10) + count = driver->write(tty, buf, count); +#else count = driver->write(tty, 0, buf, count); +#endif snd_rawmidi_transmit_ack(serial->substream_output, count); } else { clear_bit(TTY_DO_WRITE_WAKEUP, &tty->flags); -- Lee Revell ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/