diff options
author | Hamish Guthrie <hcg@openwrt.org> | 2009-03-24 08:54:41 +0000 |
---|---|---|
committer | Hamish Guthrie <hcg@openwrt.org> | 2009-03-24 08:54:41 +0000 |
commit | 74b20050069bf139ff490f32435f27b927fb4ce7 (patch) | |
tree | c1cc6c53bf0a0eb89ebaf60d02359b15334b3e28 /target/linux/ps3/patches-2.6.28/0008-mtd-ps3vram-Add-modalias-support-to-the-ps3vram-dri.patch | |
parent | d0e357e729480d44369c2472081a587e4e5c5e12 (diff) | |
download | upstream-74b20050069bf139ff490f32435f27b927fb4ce7.tar.gz upstream-74b20050069bf139ff490f32435f27b927fb4ce7.tar.bz2 upstream-74b20050069bf139ff490f32435f27b927fb4ce7.zip |
ps3: update ps3vram patches
SVN-Revision: 15011
Diffstat (limited to 'target/linux/ps3/patches-2.6.28/0008-mtd-ps3vram-Add-modalias-support-to-the-ps3vram-dri.patch')
-rw-r--r-- | target/linux/ps3/patches-2.6.28/0008-mtd-ps3vram-Add-modalias-support-to-the-ps3vram-dri.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/target/linux/ps3/patches-2.6.28/0008-mtd-ps3vram-Add-modalias-support-to-the-ps3vram-dri.patch b/target/linux/ps3/patches-2.6.28/0008-mtd-ps3vram-Add-modalias-support-to-the-ps3vram-dri.patch new file mode 100644 index 0000000000..f769c9c186 --- /dev/null +++ b/target/linux/ps3/patches-2.6.28/0008-mtd-ps3vram-Add-modalias-support-to-the-ps3vram-dri.patch @@ -0,0 +1,39 @@ +From 0a2d15b928e0b1673d4ed5f48d95af211b6fcc06 Mon Sep 17 00:00:00 2001 +From: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> +Date: Tue, 6 Jan 2009 11:32:03 +0000 +Subject: [PATCH] mtd/ps3vram: Add modalias support to the ps3vram driver + +Update ps3vram driver to use the new ps3 three id modalias support. + +Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> +Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> +Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> +--- + arch/powerpc/include/asm/ps3.h | 1 + + drivers/mtd/devices/ps3vram.c | 1 + + 2 files changed, 2 insertions(+), 0 deletions(-) + +diff --git a/arch/powerpc/include/asm/ps3.h b/arch/powerpc/include/asm/ps3.h +index 66b6505..eead5c6 100644 +--- a/arch/powerpc/include/asm/ps3.h ++++ b/arch/powerpc/include/asm/ps3.h +@@ -333,6 +333,7 @@ enum ps3_match_sub_id { + #define PS3_MODULE_ALIAS_STOR_FLASH "ps3:8:0" + #define PS3_MODULE_ALIAS_SOUND "ps3:9:0" + #define PS3_MODULE_ALIAS_GPU_FB "ps3:10:1" ++#define PS3_MODULE_ALIAS_GPU_RAMDISK "ps3:10:2" + #define PS3_MODULE_ALIAS_LPM "ps3:11:0" + + enum ps3_system_bus_device_type { +diff --git a/drivers/mtd/devices/ps3vram.c b/drivers/mtd/devices/ps3vram.c +index 26a4b57..22f381f 100644 +--- a/drivers/mtd/devices/ps3vram.c ++++ b/drivers/mtd/devices/ps3vram.c +@@ -774,3 +774,4 @@ module_exit(ps3vram_exit); + MODULE_LICENSE("GPL"); + MODULE_AUTHOR("Jim Paris <jim@jtan.com>"); + MODULE_DESCRIPTION("MTD driver for PS3 video RAM"); ++MODULE_ALIAS(PS3_MODULE_ALIAS_GPU_RAMDISK); +-- +1.6.0.4 + |