Backport of ps3vram from 2.6.29
[openwrt.git] / target / linux / ps3 / patches-2.6.28 / 0006-mtd-ps3vram-Add-modalias-support-to-the-ps3vram-dri.patch
1 From 0a2d15b928e0b1673d4ed5f48d95af211b6fcc06 Mon Sep 17 00:00:00 2001
2 From: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
3 Date: Tue, 6 Jan 2009 11:32:03 +0000
4 Subject: [PATCH] mtd/ps3vram: Add modalias support to the ps3vram driver
5
6 Update ps3vram driver to use the new ps3 three id modalias support.
7
8 Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
9 Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
10 Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
11 ---
12  arch/powerpc/include/asm/ps3.h |    1 +
13
14 diff --git a/arch/powerpc/include/asm/ps3.h b/arch/powerpc/include/asm/ps3.h
15 index 66b6505..eead5c6 100644
16 --- a/arch/powerpc/include/asm/ps3.h
17 +++ b/arch/powerpc/include/asm/ps3.h
18 @@ -333,6 +333,7 @@ enum ps3_match_sub_id {
19  #define PS3_MODULE_ALIAS_STOR_FLASH    "ps3:8:0"
20  #define PS3_MODULE_ALIAS_SOUND         "ps3:9:0"
21  #define PS3_MODULE_ALIAS_GPU_FB                "ps3:10:1"
22 +#define PS3_MODULE_ALIAS_GPU_RAMDISK   "ps3:10:2"
23  #define PS3_MODULE_ALIAS_LPM           "ps3:11:0"
24  
25  enum ps3_system_bus_device_type {