mirror of https://github.com/OpenIPC/firmware.git
				
				
				
			
		
			
				
	
	
		
			22 lines
		
	
	
		
			789 B
		
	
	
	
		
			Diff
		
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			789 B
		
	
	
	
		
			Diff
		
	
	
| diff -drupN a/drivers/ide/ide.c b/drivers/ide/ide.c
 | |
| --- a/drivers/ide/ide.c	2018-08-06 17:23:04.000000000 +0300
 | |
| +++ b/drivers/ide/ide.c	2022-06-12 05:28:14.000000000 +0300
 | |
| @@ -244,7 +244,7 @@ struct chs_geom {
 | |
|  static unsigned int ide_disks;
 | |
|  static struct chs_geom ide_disks_chs[MAX_HWIFS * MAX_DRIVES];
 | |
|  
 | |
| -static int ide_set_disk_chs(const char *str, struct kernel_param *kp)
 | |
| +static int ide_set_disk_chs(const char *str, const struct kernel_param *kp)
 | |
|  {
 | |
|  	unsigned int a, b, c = 0, h = 0, s = 0, i, j = 1;
 | |
|  
 | |
| @@ -328,7 +328,7 @@ static void ide_dev_apply_params(ide_dri
 | |
|  
 | |
|  static unsigned int ide_ignore_cable;
 | |
|  
 | |
| -static int ide_set_ignore_cable(const char *s, struct kernel_param *kp)
 | |
| +static int ide_set_ignore_cable(const char *s, const struct kernel_param *kp)
 | |
|  {
 | |
|  	int i, j = 1;
 | |
|  
 |