[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080129051533.GB2331@suse.de>
Date: Mon, 28 Jan 2008 21:15:33 -0800
From: Greg KH <gregkh@...e.de>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Kay Sievers <kay.sievers@...y.org>,
Linux/m68k <linux-m68k@...r.kernel.org>,
Linux Kernel Development <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Atari floppy: Rename disk_type to atari_disk_type
On Sun, Jan 27, 2008 at 02:28:35PM +0100, Geert Uytterhoeven wrote:
> Atari floppy: Rename disk_type to atari_disk_type
>
> Commit edfaa7c36574f1bf09c65ad602412db9da5f96bf
>
> Driver core: convert block from raw kobjects to core devices
>
> This moves the block devices to /sys/class/block. It will create a
> flat list of all block devices, with the disks and partitions in one
> directory. For compatibility /sys/block is created and contains symlinks
> to the disks.
>
> introduced a global disk_type variable in <linux/genhd.h>, causing the
> following compile error on Atari:
>
> drivers/block/ataflop.c:93: error: conflicting types for 'disk_type'
> include/linux/genhd.h:21: error: previous declaration of 'disk_type' was here
>
> Rename the local disk_type variable in drivers/block/ataflop.c to
> atari_disk_type, to avoid the conflict.
>
> Signed-off-by: Geert Uytterhoeven <geert@...ux-m68k.org>
> Cc: Kay Sievers <kay.sievers@...y.org>
> Cc: Greg Kroah-Hartman <gregkh@...e.de>
Acked-by: Greg Kroah-Hartman <gregkh@...e.de>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists