public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb•auug.org.au>
To: Alan Cox <alan@lxorguk•ukuu.org.uk>
Cc: linux-next@vger•kernel.org, Greg KH <greg@kroah•com>
Subject: linux-next: manual merge of the ttydev tree
Date: Fri, 22 Aug 2008 15:51:29 +1000	[thread overview]
Message-ID: <20080822155129.ac486353.sfr@canb.auug.org.au> (raw)

Hi Alan,

Today's linux-next merge of the ttydev tree got a conflict in
drivers/char/tty_io.c between commit
e9b4b8816d7516318a3472f600ad9734e300c7bc ("device create: char: convert
device_create_drvdata to device_create") from the driver-core tree and
commit 05d425154eb1c1c053be5e54dcc4b1db36b15d3b("tty-move-special-cases")
from the ttydev tree.

The former renamed a function used in the code that the latter moved.  I
fixed it up (see below).

-- 
Cheers,
Stephen Rothwell                    sfr@canb•auug.org.au
http://www.canb.auug.org.au/~sfr/

diff --git a/drivers/char/pty.c b/drivers/char/pty.c
index af2ab67..328e8ac 100644
--- a/drivers/char/pty.c
+++ b/drivers/char/pty.c
@@ -535,7 +535,7 @@ static void __init unix98_pty_init(void)
 	if (cdev_add(&ptmx_cdev, MKDEV(TTYAUX_MAJOR, 2), 1) ||
 	    register_chrdev_region(MKDEV(TTYAUX_MAJOR, 2), 1, "/dev/ptmx") < 0)
 		panic("Couldn't register /dev/ptmx driver\n");
-	device_create_drvdata(tty_class, NULL, MKDEV(TTYAUX_MAJOR, 2), NULL, "ptmx");
+	device_create(tty_class, NULL, MKDEV(TTYAUX_MAJOR, 2), NULL, "ptmx");
 }
 
 #else
diff --git a/drivers/char/vt.c b/drivers/char/vt.c
index 06a840d..2ec7bfe 100644
--- a/drivers/char/vt.c
+++ b/drivers/char/vt.c
@@ -2931,7 +2931,7 @@ int __init vty_init(const struct file_operations *console_fops)
 	if (cdev_add(&vc0_cdev, MKDEV(TTY_MAJOR, 0), 1) ||
 	    register_chrdev_region(MKDEV(TTY_MAJOR, 0), 1, "/dev/vc/0") < 0)
 		panic("Couldn't register /dev/tty0 driver\n");
-	device_create_drvdata(tty_class, NULL, MKDEV(TTY_MAJOR, 0), NULL, "tty0");
+	device_create(tty_class, NULL, MKDEV(TTY_MAJOR, 0), NULL, "tty0");
 
 	vcs_init();
 

             reply	other threads:[~2008-08-22  5:51 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-22  5:51 Stephen Rothwell [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-12-11  6:26 linux-next: manual merge of the ttydev tree Stephen Rothwell
2008-12-11 10:21 ` Alan Cox
2008-12-11 14:46   ` Dan Williams
2008-09-19  2:57 Stephen Rothwell
2008-09-19  2:53 Stephen Rothwell
2008-08-25  8:33 Stephen Rothwell
2008-08-25  8:24 Stephen Rothwell
2008-08-21  8:03 Stephen Rothwell
2008-08-21 10:21 ` Alan Cox
2008-08-21 12:14   ` Stephen Rothwell
2008-08-19  7:43 Stephen Rothwell
2008-08-19 19:57 ` Greg KH
2008-08-18  6:08 Stephen Rothwell
2008-08-14  5:50 Stephen Rothwell
2008-08-12  6:58 Stephen Rothwell
2008-08-12 20:42 ` Greg KH
2008-08-12  6:55 Stephen Rothwell
2008-07-23  6:47 Stephen Rothwell
2008-07-22  6:37 Stephen Rothwell
2008-07-22 10:31 ` Alan Cox
2008-07-21  7:20 Stephen Rothwell
2008-07-18  8:48 Stephen Rothwell
2008-07-18  8:41 Stephen Rothwell
2008-07-18  8:28 Stephen Rothwell
2008-07-18  8:23 Stephen Rothwell
2008-07-18  8:20 Stephen Rothwell
2008-07-18  8:49 ` Alan Cox
2008-07-18 10:49   ` Adrian Bunk
2008-07-18 10:55     ` David Miller
2008-07-18 11:00       ` Adrian Bunk
2008-07-04  9:11 Stephen Rothwell
2008-07-04 15:41 ` Alan Cox
2008-07-01 14:12 Stephen Rothwell
2008-07-01 14:16 ` Alan Cox
2008-07-01 14:09 Stephen Rothwell
2008-07-01 14:14 ` Alan Cox
2008-07-01 14:07 Stephen Rothwell
2008-07-01 14:12 ` Alan Cox
2008-07-01 14:43   ` Adrian Bunk
2008-07-01 15:42     ` Alan Cox
2008-07-01 16:45       ` Adrian Bunk
2008-07-01 14:04 Stephen Rothwell
2008-07-01 13:56 Stephen Rothwell
2008-07-01 13:54 Stephen Rothwell
2008-07-01 13:43 Stephen Rothwell
2008-07-01 12:43 Stephen Rothwell
2008-07-01 14:09 ` Alan Cox
2008-07-01 15:07   ` David Woodhouse
2008-07-01 15:29     ` Alan Cox
2008-07-02  9:01       ` David Woodhouse
2008-07-02  9:17         ` Alan Cox
2008-07-02  9:50           ` David Woodhouse
2008-07-02  9:43             ` Alan Cox
2008-07-01 12:35 Stephen Rothwell
2008-07-01 11:57 Stephen Rothwell
2008-07-01 11:59 ` Felipe Balbi
2008-07-01 15:25   ` Greg KH
2008-07-01 11:44 Stephen Rothwell
2008-07-01 11:37 Stephen Rothwell
2008-07-01 11:33 Stephen Rothwell
2008-07-12 18:59 ` Jesper Juhl
2008-07-12 20:29   ` Alan Cox
2008-07-13  1:20   ` Stephen Rothwell
2008-07-01 11:23 Stephen Rothwell
2008-07-01 11:17 Stephen Rothwell
2008-07-01 11:10 Stephen Rothwell
2008-07-01 11:56 ` Alan Cox
2008-07-01 16:18   ` David Brownell
2008-07-01 16:27     ` Alan Cox
2008-07-01 10:59 Stephen Rothwell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080822155129.ac486353.sfr@canb.auug.org.au \
    --to=sfr@canb$(echo .)auug.org.au \
    --cc=alan@lxorguk$(echo .)ukuu.org.uk \
    --cc=greg@kroah$(echo .)com \
    --cc=linux-next@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox