| .. | .. |
|---|
| 47 | 47 | * using the 2.6 Linux kernel kref construct. |
|---|
| 48 | 48 | * |
|---|
| 49 | 49 | * For direction on installation and usage of this driver please reference |
|---|
| 50 | | - * Documentation/powerpc/hvcs.txt. |
|---|
| 50 | + * Documentation/powerpc/hvcs.rst. |
|---|
| 51 | 51 | */ |
|---|
| 52 | 52 | |
|---|
| 53 | 53 | #include <linux/device.h> |
|---|
| .. | .. |
|---|
| 196 | 196 | |
|---|
| 197 | 197 | static const char hvcs_driver_name[] = "hvcs"; |
|---|
| 198 | 198 | static const char hvcs_device_node[] = "hvcs"; |
|---|
| 199 | | -static const char hvcs_driver_string[] |
|---|
| 200 | | - = "IBM hvcs (Hypervisor Virtual Console Server) Driver"; |
|---|
| 201 | 199 | |
|---|
| 202 | 200 | /* Status of partner info rescan triggered via sysfs. */ |
|---|
| 203 | 201 | static int hvcs_rescan_status; |
|---|
| .. | .. |
|---|
| 871 | 869 | hvcsd->p_partition_ID = pi->partition_ID; |
|---|
| 872 | 870 | |
|---|
| 873 | 871 | /* copy the null-term char too */ |
|---|
| 874 | | - strlcpy(&hvcsd->p_location_code[0], |
|---|
| 875 | | - &pi->location_code[0], sizeof(hvcsd->p_location_code)); |
|---|
| 872 | + strlcpy(hvcsd->p_location_code, pi->location_code, |
|---|
| 873 | + sizeof(hvcsd->p_location_code)); |
|---|
| 876 | 874 | } |
|---|
| 877 | 875 | |
|---|
| 878 | 876 | /* |
|---|