aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/platforms/iseries/setup.c8
-rw-r--r--drivers/cdrom/viocd.c2
-rw-r--r--drivers/char/viotape.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/arch/powerpc/platforms/iseries/setup.c b/arch/powerpc/platforms/iseries/setup.c
index d3f94b4f28a8..074d1d949708 100644
--- a/arch/powerpc/platforms/iseries/setup.c
+++ b/arch/powerpc/platforms/iseries/setup.c
@@ -982,8 +982,8 @@ void dt_vdevices(struct iseries_flat_dt *dt)
982 for (i = 0; i < HVMAXARCHITECTEDVIRTUALCDROMS; i++) { 982 for (i = 0; i < HVMAXARCHITECTEDVIRTUALCDROMS; i++) {
983 snprintf(buf, 32, "viocd@%08x", reg + i); 983 snprintf(buf, 32, "viocd@%08x", reg + i);
984 dt_start_node(dt, buf); 984 dt_start_node(dt, buf);
985 dt_prop_str(dt, "device_type", "viocd"); 985 dt_prop_str(dt, "device_type", "block");
986 dt_prop_str(dt, "compatible", ""); 986 dt_prop_str(dt, "compatible", "IBM,iSeries-viocd");
987 dt_prop_u32(dt, "reg", reg + i); 987 dt_prop_u32(dt, "reg", reg + i);
988 dt_prop_u32(dt, "linux,unit_address", i); 988 dt_prop_u32(dt, "linux,unit_address", i);
989 dt_end_node(dt); 989 dt_end_node(dt);
@@ -992,8 +992,8 @@ void dt_vdevices(struct iseries_flat_dt *dt)
992 for (i = 0; i < HVMAXARCHITECTEDVIRTUALTAPES; i++) { 992 for (i = 0; i < HVMAXARCHITECTEDVIRTUALTAPES; i++) {
993 snprintf(buf, 32, "viotape@%08x", reg + i); 993 snprintf(buf, 32, "viotape@%08x", reg + i);
994 dt_start_node(dt, buf); 994 dt_start_node(dt, buf);
995 dt_prop_str(dt, "device_type", "viotape"); 995 dt_prop_str(dt, "device_type", "byte");
996 dt_prop_str(dt, "compatible", ""); 996 dt_prop_str(dt, "compatible", "IBM,iSeries-viotape");
997 dt_prop_u32(dt, "reg", reg + i); 997 dt_prop_u32(dt, "reg", reg + i);
998 dt_prop_u32(dt, "linux,unit_address", i); 998 dt_prop_u32(dt, "linux,unit_address", i);
999 dt_end_node(dt); 999 dt_end_node(dt);
diff --git a/drivers/cdrom/viocd.c b/drivers/cdrom/viocd.c
index c0f817ba7adb..af6b3bfd169b 100644
--- a/drivers/cdrom/viocd.c
+++ b/drivers/cdrom/viocd.c
@@ -731,7 +731,7 @@ static int viocd_remove(struct vio_dev *vdev)
731 * support. 731 * support.
732 */ 732 */
733static struct vio_device_id viocd_device_table[] __devinitdata = { 733static struct vio_device_id viocd_device_table[] __devinitdata = {
734 { "viocd", "" }, 734 { "block", "IBM,iSeries-viocd" },
735 { "", "" } 735 { "", "" }
736}; 736};
737MODULE_DEVICE_TABLE(vio, viocd_device_table); 737MODULE_DEVICE_TABLE(vio, viocd_device_table);
diff --git a/drivers/char/viotape.c b/drivers/char/viotape.c
index 60aabdb4a046..11c7e9de5958 100644
--- a/drivers/char/viotape.c
+++ b/drivers/char/viotape.c
@@ -989,7 +989,7 @@ static int viotape_remove(struct vio_dev *vdev)
989 * support. 989 * support.
990 */ 990 */
991static struct vio_device_id viotape_device_table[] __devinitdata = { 991static struct vio_device_id viotape_device_table[] __devinitdata = {
992 { "viotape", "" }, 992 { "byte", "IBM,iSeries-viotape" },
993 { "", "" } 993 { "", "" }
994}; 994};
995MODULE_DEVICE_TABLE(vio, viotape_device_table); 995MODULE_DEVICE_TABLE(vio, viotape_device_table);