[ar71xx] add support for the SST 39VF6401B flash chip
[openwrt.git] / target / linux / ps3 / patches-2.6.28 / 0008-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 drivers/mtd/devices/ps3vram.c | 1 +
14 2 files changed, 2 insertions(+), 0 deletions(-)
15
16 diff --git a/arch/powerpc/include/asm/ps3.h b/arch/powerpc/include/asm/ps3.h
17 index 66b6505..eead5c6 100644
18 --- a/arch/powerpc/include/asm/ps3.h
19 +++ b/arch/powerpc/include/asm/ps3.h
20 @@ -333,6 +333,7 @@ enum ps3_match_sub_id {
21 #define PS3_MODULE_ALIAS_STOR_FLASH "ps3:8:0"
22 #define PS3_MODULE_ALIAS_SOUND "ps3:9:0"
23 #define PS3_MODULE_ALIAS_GPU_FB "ps3:10:1"
24 +#define PS3_MODULE_ALIAS_GPU_RAMDISK "ps3:10:2"
25 #define PS3_MODULE_ALIAS_LPM "ps3:11:0"
26
27 enum ps3_system_bus_device_type {
28 diff --git a/drivers/mtd/devices/ps3vram.c b/drivers/mtd/devices/ps3vram.c
29 index 26a4b57..22f381f 100644
30 --- a/drivers/mtd/devices/ps3vram.c
31 +++ b/drivers/mtd/devices/ps3vram.c
32 @@ -774,3 +774,4 @@ module_exit(ps3vram_exit);
33 MODULE_LICENSE("GPL");
34 MODULE_AUTHOR("Jim Paris <jim@jtan.com>");
35 MODULE_DESCRIPTION("MTD driver for PS3 video RAM");
36 +MODULE_ALIAS(PS3_MODULE_ALIAS_GPU_RAMDISK);
37 --
38 1.6.0.4
39
This page took 0.053154 seconds and 5 git commands to generate.